diff --git a/src/router/index.js b/src/router/index.js index 2e522b2a..efd9ad48 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -398,7 +398,7 @@ const router = createRouter() // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { const newRouter = createRouter() - router.matcher = newRouter.matcher // reset router + router.matched = newRouter.matched // reset router } export default router