소스 검색

活动修改详情

xhj 2 년 전
부모
커밋
3a504e0f70
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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()
 					})
 				})