Merge pull request #6878 from dataease/pr@dev@fix_tree_filter_sort

perf(过滤器): 树过滤器改变排序方式后默认值重置
This commit is contained in:
fit2cloud-chenyw 2023-11-27 20:37:20 +08:00 committed by GitHub
commit fdff860e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,8 +169,6 @@ export default {
}
this.show = false
this.$nextTick(() => {
// this.value = value ? [] : null
this.show = true
this.$nextTick(() => {
const defaultV = this.element.options.value === null ? '' : this.element.options.value.toString()
@ -213,7 +211,6 @@ export default {
this.$refs.deSelectTree && this.$refs.deSelectTree.treeDataUpdateFun(this.data)
})
})
this.element.options.value = ''
}
},