|
@@ -131,8 +131,12 @@ export default {
|
|
|
this.titleName = this.type.name
|
|
|
const res = await teamQueryTeamInfo({ teamId: this.type.code, pageSize: this.pageSize, curIndex: this.curIndex })
|
|
|
if (res.code === 200) {
|
|
|
- this.AllMember = res.data.teamLeaderRelateInfoResponseList.concat(res.data.teamMemberRelateInfoResponseList)
|
|
|
- this.total = res.total
|
|
|
+ if (res.data.teamLeaderRelateInfoResponseList && res.data.teamMemberRelateInfoResponseList) {
|
|
|
+ this.AllMember = res.data.teamLeaderRelateInfoResponseList.concat(res.data.teamMemberRelateInfoResponseList)
|
|
|
+ this.total = res.total
|
|
|
+ } else {
|
|
|
+ this.AllMember = []
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
this.memberSetupShow = false
|