Merge pull request #3015 from dataease/pr@dev@fix_clear_button

fix(仪表板-下拉列表过滤器): 清空按钮触发不能重置下拉列表的全选框
This commit is contained in:
fit2cloud-chenyw
2022-08-31 15:19:51 +08:00
committed by GitHub

View File

@@ -214,6 +214,8 @@ export default {
methods: {
clearHandler() {
this.value = this.element.options.attrs.multiple ? [] : null
this.checkAll = false
this.isIndeterminate = false
},
resetDefaultValue(id) {
if (this.inDraw && this.manualModify && this.element.id === id) {