|
|
@@ -233,8 +233,8 @@
|
|
|
return new Promise((r,j)=>{
|
|
|
req.getRequest('/api/company/treeList',{},res=>{
|
|
|
this.companyTreeList = res
|
|
|
- this.industryList = this.companyTreeList[0].children
|
|
|
- this.rightArray = this.industryList[0].children
|
|
|
+ this.industryList = this.companyTreeList[0]&&this.companyTreeList[0].children?this.companyTreeList[0].children:[]
|
|
|
+ this.rightArray = this.industryList[0]&&this.industryList[0].children?this.industryList[0].children:[]
|
|
|
r()
|
|
|
})
|
|
|
})
|