fix:修复路由错误
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createWebHistory, createRouter } from 'vue-router';
|
||||
import { createWebHashHistory, createRouter } from 'vue-router';
|
||||
|
||||
import Account from './components/Account.vue';
|
||||
import PassKey from './components/PassKey.vue';
|
||||
@@ -9,7 +9,7 @@ const routes = [
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: createWebHashHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user