feat(代理中心页): 接口字段调整
This commit is contained in:
parent
c804900677
commit
fa9b5c789a
@ -264,7 +264,10 @@ const goToTeamBill = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const goToTeamMember = () => {
|
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 = () => {
|
const exchangeGoldCoins = () => {
|
||||||
@ -291,8 +294,8 @@ const fetchTeamMemberCount = async () => {
|
|||||||
|
|
||||||
if (teamId) {
|
if (teamId) {
|
||||||
const response = await getTeamMemberCount(teamId)
|
const response = await getTeamMemberCount(teamId)
|
||||||
if (response.status && typeof response.body === 'number') {
|
if (response.status && response.body) {
|
||||||
teamMemberCount.value = response.body
|
teamMemberCount.value = response.body.memberQuantity
|
||||||
} else {
|
} else {
|
||||||
teamMemberCount.value = 0
|
teamMemberCount.value = 0
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user