From 0f49074a4fc19375346c436200a97d28b248240a Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 1 Jul 2024 18:45:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E6=A0=91=E8=BF=87=E6=BB=A4=E5=99=A8=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=9F=A5=E8=AF=A2=E5=90=8E=E5=A4=9A=E9=80=89=E6=97=A0?= =?UTF-8?q?=E6=95=88=20#10284?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/components/elTreeSelect/index.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/frontend/src/components/elTreeSelect/index.vue b/core/frontend/src/components/elTreeSelect/index.vue index c818e77190..549a1ac74c 100644 --- a/core/frontend/src/components/elTreeSelect/index.vue +++ b/core/frontend/src/components/elTreeSelect/index.vue @@ -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()