From 107eca865d65849534a086b510b22da788aa4ac9 Mon Sep 17 00:00:00 2001 From: qinjie Date: Wed, 1 Sep 2021 10:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=9C=BA=E6=9E=84=E6=A0=91?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=BB=84=E4=BB=B6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrgTree/Index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/OrgTree/Index.vue b/src/components/OrgTree/Index.vue index 496a569..70feb80 100644 --- a/src/components/OrgTree/Index.vue +++ b/src/components/OrgTree/Index.vue @@ -114,8 +114,8 @@ export default { methods: { // 点击组织机构数节点时调用 selectTree(selectedKeys, e) { - this.selectKey = e.node.eventKey; - this.selectTitle = e.node.title; + this.selectKey = e.node.dataRef.key; + this.selectTitle = e.node.dataRef.title; this.$emit('getSelectTreeKey', this.selectKey); }, // 展开/收起节点时触发