|
|
@@ -51,7 +51,7 @@ export default {
|
|
|
treeList: [],
|
|
|
//默认选中节点
|
|
|
defaultKeys: [],
|
|
|
- checkSub: this.defuaultCheckSub,
|
|
|
+ checkSub: this.defaultCheckSub,
|
|
|
defaultKey: null,
|
|
|
};
|
|
|
},
|
|
|
@@ -88,7 +88,7 @@ export default {
|
|
|
type: String,
|
|
|
default: "请输入机构名称",
|
|
|
},
|
|
|
- defuaultCheckSub:{
|
|
|
+ defaultCheckSub:{
|
|
|
type:Boolean,
|
|
|
default:true
|
|
|
}
|
|
|
@@ -159,7 +159,7 @@ export default {
|
|
|
// 筛选节点
|
|
|
filterNode(value, data) {
|
|
|
if (!value) return true;
|
|
|
- return data.name.indexOf(value) !== -1;
|
|
|
+ return data.shortName.indexOf(value) !== -1;
|
|
|
},
|
|
|
// 节点单击事件
|
|
|
handleNodeClick(data, node) {
|