소스 검색

Update index.ts

lex-xin 3 달 전
부모
커밋
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,