lex-xin 3 месяцев назад
Родитель
Сommit
f533d6a6f0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -89,7 +89,7 @@ export function parseQuery(query: string): LocationQuery {
 }
 
 const router: Router = createRouter({
-  history: createWebHashHistory('/classroom'),
+  history: createWebHashHistory('/classroom/'),
   routes: [...constantRoutes],
   stringifyQuery,
   parseQuery,