|
@@ -181,6 +181,8 @@ const onSubmit = () => {
|
|
state.loading = true
|
|
state.loading = true
|
|
if (state.form.fieldType === 'text') {
|
|
if (state.form.fieldType === 'text') {
|
|
state.form.fieldAnalyzer = JSON.stringify(state.textTable.data)
|
|
state.form.fieldAnalyzer = JSON.stringify(state.textTable.data)
|
|
|
|
+ } else {
|
|
|
|
+ state.form.fieldAnalyzer = null
|
|
}
|
|
}
|
|
sysIndexFieldSaveOrUpdate(state.form).then(res => {
|
|
sysIndexFieldSaveOrUpdate(state.form).then(res => {
|
|
ElMessage.success(props.transfer.mode === 'add' ? '新增成功!' : '编辑成功!')
|
|
ElMessage.success(props.transfer.mode === 'add' ? '新增成功!' : '编辑成功!')
|