Browse Source

feat: tijiao

tangning 2 years ago
parent
commit
6d0d204d08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/router/index.ts

+ 2 - 2
src/router/index.ts

@@ -1,7 +1,7 @@
-import { createRouter, createWebHistory, Router } from 'vue-router';
+import { createRouter, createWebHashHistory, Router } from 'vue-router';
 import routes from './routes';
 const router: Router = createRouter({
-  history: createWebHistory(),
+  history: createWebHashHistory(),
   routes: routes,
 });