feat(代理中心页): 接口字段调整

This commit is contained in:
hzj 2025-09-26 11:37:55 +08:00
parent c804900677
commit fa9b5c789a

View File

@ -264,7 +264,10 @@ const goToTeamBill = () => {
}
const goToTeamMember = () => {
router.push({ path: '/team-member', query: { source: 'agency-center', members: teamMemberCount.value } })
router.push({
path: '/team-member',
query: { source: 'agency-center', members: teamMemberCount.value },
})
}
const exchangeGoldCoins = () => {
@ -291,8 +294,8 @@ const fetchTeamMemberCount = async () => {
if (teamId) {
const response = await getTeamMemberCount(teamId)
if (response.status && typeof response.body === 'number') {
teamMemberCount.value = response.body
if (response.status && response.body) {
teamMemberCount.value = response.body.memberQuantity
} else {
teamMemberCount.value = 0
}