Merge pull request #2943 from dataease/pr@dev@fix_filter_button

fix(仪表板-过滤器按钮): 清空按钮可以拖入多个
This commit is contained in:
fit2cloud-chenyw
2022-08-25 15:00:52 +08:00
committed by GitHub
4 changed files with 19 additions and 33 deletions

View File

@@ -368,7 +368,7 @@ export default {
},
'cfilters': {
handler: function(val1, val2) {
if (isChange(val1, val2) && !this.isFirstLoad) {
if ((isChange(val1, val2) || isChange(val1, this.filters)) && !this.isFirstLoad) {
this.getData(this.element.propValue.viewId)
}
},