..
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
</view>
|
||||
<view v-else style="flex: 1;display: flex;justify-content: center;align-items: center">
|
||||
<t-empty image="/static/img/empty.png"
|
||||
description="您没有任何团队信息"
|
||||
description="活动还没未开始,请耐心等待!"
|
||||
style="flex: 1">
|
||||
</t-empty>
|
||||
</view>
|
||||
@@ -241,8 +241,10 @@ const getTeamInfo = async () => {
|
||||
try {
|
||||
const {code, msg, data} = await useRequest().post('/client/group/info/' + pageForm.actId);
|
||||
if (code === 0) {
|
||||
team.value = data
|
||||
team.value.teamIsLeader = !!team.value.groupUsers.find(t => t.isLeader)
|
||||
if(data){
|
||||
team.value = data
|
||||
team.value.teamIsLeader = !!team.value.groupUsers.find(t => t.isLeader)
|
||||
}
|
||||
} else {
|
||||
Toast({message: msg, theme: 'error'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user