Sfoglia il codice sorgente

Merge remote-tracking branch 'yudao/master'

puhui999 1 anno fa
parent
commit
66e266b7c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -12,7 +12,7 @@ const router = createRouter({
 })
 
 export const resetRouter = (): void => {
-  const resetWhiteNameList = ['Redirect', 'Login', 'NoFind', 'Root']
+  const resetWhiteNameList = ['Redirect', 'Login', 'NoFound', 'Home']
   router.getRoutes().forEach((route) => {
     const { name } = route
     if (name && !resetWhiteNameList.includes(name as string)) {