Commit 47237c63 authored by 何远江's avatar 何远江

1

parent 94d25759
...@@ -310,8 +310,11 @@ const confirmConfig = (configList: any) => { ...@@ -310,8 +310,11 @@ const confirmConfig = (configList: any) => {
variable: true variable: true
} }
} }
// 没有选择过滤字段时
if (!item.filterMapFiled) { if (!item.filterMapFiled) {
item.filterMapFiled = null item.filterMapFiled = null
item.filterScripts = []
item.filterFiled = null
} }
return item return item
}) })
......
...@@ -39,8 +39,9 @@ const addFormItem = () => { ...@@ -39,8 +39,9 @@ const addFormItem = () => {
mapField: '', mapField: '',
orderFiled: {}, orderFiled: {},
scripts: [], scripts: [],
filterFiled: '', filterFiled: {},
filterScripts: [] filterScripts: [],
filterMapFiled: '',
}) })
} }
const removeMapField = (index: number) => { const removeMapField = (index: number) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment