提交 9e93a8b2 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 修复新增查询组件错误

上级 a2fa6771
...@@ -224,7 +224,7 @@ export default { ...@@ -224,7 +224,7 @@ export default {
width: null, width: null,
height: null height: null
}, },
beforeDialogValue: null beforeDialogValue: []
} }
}, },
...@@ -442,17 +442,17 @@ export default { ...@@ -442,17 +442,17 @@ export default {
} }
}, },
openFilterDiolog() { openFilterDiolog() {
this.beforeDialogValue = this.curComponent.options.value this.beforeDialogValue = []
this.filterVisible = true this.filterVisible = true
}, },
cancelFilter() { cancelFilter() {
this.beforeDialogValue = null this.beforeDialogValue = []
this.filterVisible = false this.filterVisible = false
this.currentWidget = null this.currentWidget = null
this.clearCurrentInfo() this.clearCurrentInfo()
}, },
sureFilter() { sureFilter() {
this.currentFilterCom.options.value = this.beforeDialogValue this.currentFilterCom.options.value = []
const component = deepCopy(this.currentFilterCom) const component = deepCopy(this.currentFilterCom)
// this.$store.commit('addComponent', { component }) // this.$store.commit('addComponent', { component })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论