feat(代理中心页): 接口字段调整
This commit is contained in:
parent
c804900677
commit
fa9b5c789a
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user