Sfoglia il codice sorgente

活动修改详情

xhj 2 anni fa
parent
commit
3a504e0f70
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      match/activityEdit/activityEdit.vue

+ 2 - 2
match/activityEdit/activityEdit.vue

@@ -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()
 					})
 				})