Commit 974357c0 by zhanghaozhe

登录注册优化

parent 8454752f
......@@ -148,6 +148,7 @@ const formikConfig = {
})
} else {
const uid = getParam('uid')
console.log(Boolean(uid))
const params = {
phone_num: values.tel,
phone_code: values.veriCode,
......@@ -175,7 +176,6 @@ const formikConfig = {
}
})
} else {
if (uid) {
const redirect = localStorage.getItem('binding_redirect')
if (redirect) {
localStorage.removeItem('binding_redirect')
......@@ -184,7 +184,6 @@ const formikConfig = {
location.assign(data.data['jump_url'])
}
}
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment