feat(projects): 新增BasicLayout布局

This commit is contained in:
Soybean
2022-01-07 00:26:59 +08:00
parent 0c5770dfd2
commit 006467a062
13 changed files with 150 additions and 81 deletions

View File

@@ -6,7 +6,7 @@ import { handlePagePermission } from './permission';
* 路由守卫函数
* @param router - 路由实例
*/
export function createRouterGuide(router: Router) {
export function createRouterGuard(router: Router) {
router.beforeEach(async (to, from, next) => {
// 开始 loadingBar
window.$loadingBar?.start();