Merge pull request #10667 from dataease/pr@dev@fix_tree_filter
fix(过滤组件): 多选树过滤器模糊查询后多选无效 #10284
This commit is contained in:
commit
3e0805d45c
@ -464,13 +464,6 @@ export default {
|
|||||||
_treeCheckFun(data, node, vm) {
|
_treeCheckFun(data, node, vm) {
|
||||||
this.ids = []
|
this.ids = []
|
||||||
const { propsValue } = this
|
const { propsValue } = this
|
||||||
const checkKeys = this.$refs.tree.getCheckedKeys()
|
|
||||||
checkKeys.forEach((i, n) => {
|
|
||||||
const node = this.$refs.tree.getNode(i)
|
|
||||||
if (!node.visible && node.checked) {
|
|
||||||
this.$refs.tree.setChecked(i, false)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
const checkedNodes = this.$refs.tree.getCheckedNodes()
|
const checkedNodes = this.$refs.tree.getCheckedNodes()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user