bug
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
const arr = res.data.filter(v => {
|
||||
return v.parentGirdId === parentGirdId || !v.parentGirdId
|
||||
})
|
||||
this.treeData.map(p => this.addChild(p, arr.map(v => {
|
||||
this.treeData.map(p => this.addChild(p, res.data.map(v => {
|
||||
if (v.id === parentGirdId) {
|
||||
this.defaultExpandedKeys.push(v.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user