Initial commit: 网络验证平台

This commit is contained in:
Admin
2026-04-27 17:22:56 +08:00
commit afe67d704e
780 changed files with 88960 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHistory } from 'vue-router'
import { createRouterGuard } from './guard'
import routes from './routes'
const router = createRouter({
history: createWebHistory(),
routes: routes as RouteRecordRaw[],
scrollBehavior() {
return { left: 0, top: 0, behavior: 'smooth' }
},
})
createRouterGuard(router)
export default router