会员申请优化cont.

This commit is contained in:
黄心宇 2023-06-14 15:55:08 +08:00
parent d3f4d68674
commit 8891f36d2d
1 changed files with 9 additions and 10 deletions

View File

@ -52,16 +52,15 @@ function ZoneVIP(props){
}
function onOk(e) {
console.log(e)
// applyJoin(id, e).then(res => {
// if (res) {
// showNotification(res.msg)
// setApplyVisible(!applyVisible)
// if (res.code === 200) {
// setMemberStatus(memberStatusEnum.applying)
// }
// }
// })
applyJoin(id, e).then(res => {
if (res) {
showNotification(res.msg)
setApplyVisible(!applyVisible)
if (res.code === 200) {
setMemberStatus(memberStatusEnum.applying)
}
}
})
}
function apply() {