fix(过滤组件): 多选树过滤器模糊查询后多选无效 #10284

This commit is contained in:
fit2cloud-chenyw 2024-07-01 18:45:33 +08:00
parent 3b5bc01673
commit 0f49074a4f

View File

@ -464,13 +464,6 @@ export default {
_treeCheckFun(data, node, vm) {
this.ids = []
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()