diff --git a/src/router/index.js b/src/router/index.js index f70246f6..948de201 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -303,7 +303,7 @@ const routes = [ ] const router = createRouter({ - history: createWebHashHistory(process.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes, scrollBehavior() { // always scroll to top