fix routes.

This commit is contained in:
2023-06-13 12:02:59 +08:00
parent c27f5c43c7
commit 03f24190fc
13 changed files with 408 additions and 454 deletions

View File

@@ -11,7 +11,7 @@ import { toggleLogin } from "./shared/composables/modal"
const router = createRouter({
history: createWebHistory(),
routes,
routes: [routes],
})
router.beforeEach((to, from, next) => {