refactor(router): 将登录配置从src/login移动到src/router

将登录相关的配置文件和文档从src/login目录移动到src/router目录,以更好地组织路由相关代码
This commit is contained in:
feige996
2025-08-22 08:57:30 +08:00
parent c5dcb2e454
commit bb52c8b80c
3 changed files with 1 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
import { useUserStore } from '@/store'
import { tabbarStore } from '@/tabbar/store'
import { getLastPage, parseUrlToObj } from '@/utils/index'
import { EXCLUDE_PAGE_LIST, isNeedLogin, LOGIN_PAGE, LOGIN_PAGE_LIST } from '../login/config'
import { EXCLUDE_PAGE_LIST, isNeedLogin, LOGIN_PAGE, LOGIN_PAGE_LIST } from './login'
// 黑名单登录拦截器 - (适用于大部分页面不需要登录,少部分页面需要登录)
export const navigateToInterceptor = {