修改
This commit is contained in:
parent
f3c29015c1
commit
3a010e4f96
@ -104,7 +104,11 @@
|
|||||||
title: '未注册,请先注册',
|
title: '未注册,请先注册',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: '1500',
|
duration: '1500',
|
||||||
url: '/pages/register/register',
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/register/register',
|
||||||
|
})
|
||||||
})
|
})
|
||||||
} else if (resp.data.code == '1') {
|
} else if (resp.data.code == '1') {
|
||||||
getCurrentUser(resp.data.openid, resp.data.cityCode).then(res => {
|
getCurrentUser(resp.data.openid, resp.data.cityCode).then(res => {
|
||||||
|
|||||||
@ -415,7 +415,7 @@
|
|||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
title: '注册成功',
|
title: '注册成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
back: 2,
|
back: 1,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user