feat(邀请新用户页): 绑定邀请人后刷新数据
This commit is contained in:
parent
30c4dba81d
commit
00cd645d25
@ -408,7 +408,7 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
||||||
color: rgba(0, 0, 0, 0.4);
|
color: white;
|
||||||
font-weight: 510;
|
font-weight: 510;
|
||||||
|
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
@ -644,6 +644,7 @@ const confirm = async () => {
|
|||||||
const resBind = await bindInviteCode(data)
|
const resBind = await bindInviteCode(data)
|
||||||
if (resBind.status) {
|
if (resBind.status) {
|
||||||
showSuccess(t('invitation_code_bound_successfully'))
|
showSuccess(t('invitation_code_bound_successfully'))
|
||||||
|
apiGetMyInviter() //刷新我的邀请人信息
|
||||||
} else {
|
} else {
|
||||||
showError(t('invitation_code_binding_failed'))
|
showError(t('invitation_code_binding_failed'))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user