工厂信息

This commit is contained in:
打豆豆
2023-12-15 15:03:15 +08:00
parent b039bc4a96
commit 88c52b9693
6 changed files with 407 additions and 50 deletions

View File

@@ -260,3 +260,8 @@ export default new Router({
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes,
});
export function resetRouter() {
const newRouter = createRouter()
Router.matcher = newRouter.matcher // 重制 router
}