refactor: 统一登录相关页面路径为/pages/login前缀

将登录页面、注册页面及相关跳转路径统一修改为/pages/login前缀
在首页添加跳转登录页的按钮
This commit is contained in:
feige996
2025-08-18 21:27:59 +08:00
parent 168a19fbca
commit 7a89d913ec
3 changed files with 12 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ export const navigateToInterceptor = {
return
}
console.log('222')
const redirectUrl = `/login/login?redirect=${encodeURIComponent(path)}`
const redirectUrl = `/pages/login/login?redirect=${encodeURIComponent(path)}`
uni.navigateTo({ url: redirectUrl })
},
}