fix: 修复构建报错
This commit is contained in:
@@ -37,7 +37,7 @@ router.beforeEach(
|
||||
start();
|
||||
|
||||
// 2、标题
|
||||
document.title = to.meta.title || import.meta.env.VITE_WEB_TITLE;
|
||||
document.title = (to.meta.title as string) || (import.meta.env.VITE_WEB_TITLE as string);
|
||||
|
||||
// 3、权限 预留
|
||||
// 3、判断是访问登陆页,有Token访问当前页面,token过期访问接口,axios封装则自动跳转登录页面,没有Token重置路由到登陆页。
|
||||
|
||||
Reference in New Issue
Block a user