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

This commit is contained in:
fit2cloud-chenyw 2021-06-08 16:35:27 +08:00
parent a2fa6771fa
commit 9e93a8b215

View File

@ -224,7 +224,7 @@ export default {
width: null,
height: null
},
beforeDialogValue: null
beforeDialogValue: []
}
},
@ -442,17 +442,17 @@ export default {
}
},
openFilterDiolog() {
this.beforeDialogValue = this.curComponent.options.value
this.beforeDialogValue = []
this.filterVisible = true
},
cancelFilter() {
this.beforeDialogValue = null
this.beforeDialogValue = []
this.filterVisible = false
this.currentWidget = null
this.clearCurrentInfo()
},
sureFilter() {
this.currentFilterCom.options.value = this.beforeDialogValue
this.currentFilterCom.options.value = []
const component = deepCopy(this.currentFilterCom)
// this.$store.commit('addComponent', { component })