This commit is contained in:
2023-10-27 14:29:53 +08:00
parent f3c29015c1
commit 3a010e4f96
2 changed files with 6 additions and 2 deletions

View File

@ -104,7 +104,11 @@
title: '未注册,请先注册',
type: 'error',
duration: '1500',
url: '/pages/register/register',
})
setTimeout(() => {
uni.redirectTo({
url: '/pages/register/register',
})
})
} else if (resp.data.code == '1') {
getCurrentUser(resp.data.openid, resp.data.cityCode).then(res => {

View File

@ -415,7 +415,7 @@
that.$refs.uToast.show({
title: '注册成功',
type: 'success',
back: 2,
back: 1,
})
} else {
that.$refs.uToast.show({