mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改首页代码
This commit is contained in:
@@ -16,8 +16,9 @@ export function createRouterGuards(router: Router) {
|
||||
})
|
||||
|
||||
router.afterEach((to, _, failure) => {
|
||||
document.title = (to?.meta?.title as string) || document.title;
|
||||
const Loading = window['$loading'] || null;
|
||||
Loading && Loading.start();
|
||||
document.title = (to?.meta?.title as string) || document.title;
|
||||
Loading && Loading.finish();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user