Commit 3ceef9bc by zhangquan

修改注册成功后的跳转

1 parent 8dd71dc1
...@@ -104,7 +104,7 @@ Page({ ...@@ -104,7 +104,7 @@ Page({
} }
console.log(params,'ddd') console.log(params,'ddd')
USERAPI.register(params).then((res) => { USERAPI.register(params).then((res) => {
if (code == '0'){ if (res.code == '0'){
wx.$router.go('/pages/authentication/registerSuccess/registerSuccess',{type:0}) wx.$router.go('/pages/authentication/registerSuccess/registerSuccess',{type:0})
}else{ }else{
wx.$api.showToast(message || '系统异常') wx.$api.showToast(message || '系统异常')
......
...@@ -61,5 +61,5 @@ ...@@ -61,5 +61,5 @@
], ],
"include": [] "include": []
}, },
"appid": "wx570d9331f9ace0bd" "appid": "wxe10067a63c1856ac"
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!