<el-tree-select v-model="value" lazy :load="load" :props="props" />
const props = {label: "std_org_name",value: "std_org_code",isLeaf: 'isLeaf', children: "children"};
const list = [{std_org_name:11,std_org_code:11,children:[{std_org_name:22,std_org_code:22,children:[]}]}]
const load = (node, resolve) => {
if (node.isLeaf) return resolve([])
let datalist = node.data.length==0?list:node.data.children;
datalist.forEach(element => {
element.isLeaf = element.children.length==0?true:false
});
resolve([
...datalist
])
}