会员申请优化cont.
This commit is contained in:
parent
d3f4d68674
commit
8891f36d2d
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue