charles
2024-07-18 a0b97eb8e934ba28b9e51824d4cbbcc99cc70e17
src/router/index.js
@@ -103,7 +103,7 @@
// 导出路由 在 main.js 里使用
const createRouter = () =>
  new Router({
    mode: "history",
    mode: "hash",
    // base: window.getServerJson.context,
    scrollBehavior: () => ({ y: 0 }),
    routes: constantRoutes