feat: 更新标签页名称为 mygo Team,修复邀请列表空数据时的错误提示
This commit is contained in:
@@ -77,8 +77,8 @@ async function loadInvitations() {
|
||||
loading.value = true
|
||||
try {
|
||||
const response = await listInvitations(accountId.value)
|
||||
if (response.data.success && response.data.data) {
|
||||
invitations.value = response.data.data
|
||||
if (response.data.success) {
|
||||
invitations.value = response.data.data || []
|
||||
} else {
|
||||
toast.error(response.data.message || '获取邀请列表失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user