perf(过滤器): 树过滤器改变排序方式后默认值重置

This commit is contained in:
fit2cloud-chenyw 2023-11-27 20:36:36 +08:00
parent e091527fe9
commit 35c87788be

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 = ''
}
},