refactor: 统一登录相关页面路径为/pages/login前缀
将登录页面、注册页面及相关跳转路径统一修改为/pages/login前缀 在首页添加跳转登录页的按钮
This commit is contained in:
@@ -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 })
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user