diff --git a/src/router/index.js b/src/router/index.js index f24facb..8fca821 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,10 +1,10 @@ -import {createRouter, createWebHistory} from 'vue-router'; +import {createMemoryHistory, createRouter} from 'vue-router'; import routes from "./routes.js"; import {useUserStore} from "../pinia/UserStore/index.js"; import {useSystemStore} from "../pinia/SystemStore/index.js"; const router = createRouter({ - history: createWebHistory(), + history: createMemoryHistory(), routes, })