mod: remove router.isReady

This commit is contained in:
张传龙
2022-04-01 16:39:26 +08:00
parent 33aaadba60
commit 8648f16ed8
2 changed files with 3 additions and 4 deletions

View File

@@ -18,8 +18,7 @@ export function resetRouter() {
})
}
export async function setupRouter(app) {
export function setupRouter(app) {
app.use(router)
setupRouterGuard(router)
await router.isReady()
}