lixuliang
2024-08-29 7cde297f0a99e060aea9bce60d1c121a14ae74d7
src/router/index.js
@@ -2,6 +2,7 @@
import Router from 'vue-router'
import index from '@/components/index'
import login from '@/components/login'
import URLconfig from "../../static/URLconfig";
Vue.use(Router)
const routes = [
@@ -22,7 +23,7 @@
];
const router = new Router({
  mode: "history",
  // base: '/TEST',
  base: URLconfig.routerBase,
  routes,
});
router.beforeEach((to, from, next) => {