统一替换登录成功后调用的 router.nextLogin 为 router.home,调整登录后跳转逻辑为直接返回首页
@@ -141,7 +141,7 @@ async function editSave() {
editClose();
// 跳转首页
- router.nextLogin();
+ router.home();
})
.catch((err) => {
// 上传失败,提示错误信息
@@ -190,7 +190,7 @@ async function miniLogin() {
editOpen();
} else {
}
@@ -144,7 +144,7 @@ function toLogin() {
title: '登录成功',
icon: 'success'
}).catch(err => {
if(err.message=='手机号不存在'&&val.value==='quickly_login'){
quicklyRegister({
@@ -206,7 +206,7 @@ function handleSelect(item: string) {