소스 검색

机构树默认使用shortname

jiawuxian 2 년 전
부모
커밋
bf6872e45c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,