This commit is contained in:
ygx
2026-03-08 22:41:42 +08:00
parent f7bbb5ee46
commit 180d980514
23 changed files with 1392 additions and 850 deletions

View File

@@ -4,7 +4,7 @@ import { createRouter, createWebHashHistory } from 'vue-router'
import createRouteGuard from './guard'
import { appRoutes } from './routes'
import { NOT_FOUND_ROUTE, REDIRECT_MAIN } from './routes/base'
import { DEFAULT_LAYOUT, NOT_FOUND_ROUTE, REDIRECT_MAIN } from './routes/base'
NProgress.configure({ showSpinner: false }) // NProgress Configuration
@@ -25,7 +25,7 @@ const router = createRouter({
},
...appRoutes,
REDIRECT_MAIN,
NOT_FOUND_ROUTE,
// NOT_FOUND_ROUTE,
],
scrollBehavior() {
return { top: 0 }