Tree 的异步加载不用官网的一套
<a-tree :treeData="treeData" :loadData="onLoadData" > </a-tree>
async onLoadData(treeNode) {
const treeDataRes = await getOrgTreeList({parentCode:treeNode.dataRef.key})
const treeSet = this.getTreeOrgs(treeDataRes.data)
treeNode.dataRef.children = treeSet
this.treeData = [...this.treeData]
}