Browse Source

Update index.ts

lex-xin 3 months ago
parent
commit
f533d6a6f0
1 changed files with 1 additions and 1 deletions
  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({
 const router: Router = createRouter({
-  history: createWebHashHistory('/classroom'),
+  history: createWebHashHistory('/classroom/'),
   routes: [...constantRoutes],
   routes: [...constantRoutes],
   stringifyQuery,
   stringifyQuery,
   parseQuery,
   parseQuery,