From dd58d093f3b7677bada16af44ccf85c9b92ff201 Mon Sep 17 00:00:00 2001 From: qinjie Date: Sat, 28 Aug 2021 10:57:09 +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=E4=BD=BF=E7=94=A8=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrgTree/Index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/OrgTree/Index.vue b/src/components/OrgTree/Index.vue index 3574225..7a6d8c4 100644 --- a/src/components/OrgTree/Index.vue +++ b/src/components/OrgTree/Index.vue @@ -34,9 +34,10 @@ // 1. 引入 import orgTree from '@/components/OrgTree/Index' // 2. 注册 components: { orgTree }, // 3. 在需要展示的位置放置组件 -// +// // 说明 // :defaultOrganizationId 传入默认组织机构ID,可为空,会检查传入的组织结构ID是否在组织机构树中,如不存在则会忽略 +// :startOrganizationId 传入展示组织机构树的起始节点,可为空,但一旦传入会去组织机构树中匹配,如果匹配不到则不展示组织机构树 [满足控权场景] // @getSelectTreeKey 当选中某一个组织机构数节点时的回调,传入默认组织机构ID时也会触发回调 // // 回调函数示例