Browse Source

机构树默认使用shortname

jiawuxian 2 năm trước cách đây
mục cha
commit
bf6872e45c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/k-orgTree/index.vue

+ 1 - 1
src/components/k-orgTree/index.vue

@@ -48,7 +48,7 @@ export default {
       //自定义取值
       defaultProps: {
         children: "children",
-        label: "name"
+        label: "shortname"
       },
       checkSub:true,
       defaultKey:null,