修复:用户资料及认证提交页面,需求定制页面

This commit is contained in:
2025-02-15 18:38:21 +08:00
parent ca3b5a296e
commit 9081e41188
29 changed files with 925 additions and 284 deletions

View File

@@ -9,7 +9,6 @@ export default defineNuxtRouteMiddleware((to, from) => {
if(import.meta.client){
let token = useToken()
if(!token.value){
console.log('ekekekekeke')
return navigateTo({
path: '/passport/login',
query: {
@@ -27,7 +26,7 @@ export default defineNuxtRouteMiddleware((to, from) => {
if (isMobile) {
mobile.value = true;
if (to.path.indexOf('/m') < 0) {
return window.location.href = `/m`
// return window.location.href = `/m`
}
}
}