Commit e4269050 by zhanghaozhe

Merge branch 'login-binding' into dev

parents 3c9c4c55 974357c0
...@@ -148,6 +148,7 @@ const formikConfig = { ...@@ -148,6 +148,7 @@ const formikConfig = {
}) })
} else { } else {
const uid = getParam('uid') const uid = getParam('uid')
console.log(Boolean(uid))
const params = { const params = {
phone_num: values.tel, phone_num: values.tel,
phone_code: values.veriCode, phone_code: values.veriCode,
...@@ -175,7 +176,6 @@ const formikConfig = { ...@@ -175,7 +176,6 @@ const formikConfig = {
} }
}) })
} else { } else {
if (uid) {
const redirect = localStorage.getItem('binding_redirect') const redirect = localStorage.getItem('binding_redirect')
if (redirect) { if (redirect) {
localStorage.removeItem('binding_redirect') localStorage.removeItem('binding_redirect')
...@@ -184,7 +184,6 @@ const formikConfig = { ...@@ -184,7 +184,6 @@ const formikConfig = {
location.assign(data.data['jump_url']) location.assign(data.data['jump_url'])
} }
} }
}
} else { } 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