Merge pull request #6878 from dataease/pr@dev@fix_tree_filter_sort
perf(过滤器): 树过滤器改变排序方式后默认值重置
This commit is contained in:
commit
fdff860e9b
@ -169,8 +169,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.show = false
|
this.show = false
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// this.value = value ? [] : null
|
|
||||||
|
|
||||||
this.show = true
|
this.show = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const defaultV = this.element.options.value === null ? '' : this.element.options.value.toString()
|
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.$refs.deSelectTree && this.$refs.deSelectTree.treeDataUpdateFun(this.data)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.element.options.value = ''
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user