fix: code lint warn
This commit is contained in:
@@ -7,8 +7,8 @@ import {
|
||||
import { resetStaticRoutes } from '@vben/utils';
|
||||
|
||||
import { createRouterGuard } from './guard';
|
||||
import { setupBaiduTongJi } from './tongji';
|
||||
import { routes } from './routes';
|
||||
import { setupBaiduTongJi } from './tongji';
|
||||
|
||||
/**
|
||||
* @zh_CN 创建vue-router实例
|
||||
|
||||
@@ -92,7 +92,8 @@ const coreRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
name: 'SocialLogin',
|
||||
path: 'social-login',
|
||||
component: () => import('#/views/_core/authentication/social-login.vue'),
|
||||
component: () =>
|
||||
import('#/views/_core/authentication/social-login.vue'),
|
||||
meta: {
|
||||
title: $t('page.auth.login'),
|
||||
},
|
||||
@@ -104,7 +105,7 @@ const coreRoutes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
title: $t('page.auth.login'),
|
||||
},
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -44,4 +44,4 @@ const componentKeys: string[] = Object.keys(
|
||||
const path = v.replace('../../views/', '/');
|
||||
return path.endsWith('.vue') ? path.slice(0, -4) : path;
|
||||
});
|
||||
export { accessRoutes, coreRouteNames, routes, componentKeys };
|
||||
export { accessRoutes, componentKeys, coreRouteNames, routes };
|
||||
|
||||
@@ -13,4 +13,4 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
export default routes;
|
||||
|
||||
Reference in New Issue
Block a user