Mr.Zhang
2023-08-22 0256117a3a35a4dc0ac90d3172d11651eb0b8150
screen_standard/src/router/index.js
@@ -2,9 +2,10 @@
import HomeView from '../views/HomeView.vue'
import indexView from '../views/index.vue'
import processView from '../views/process.vue'
console.log(import.meta.env.VITE_BASE_CONTEXT);
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
  routes: [
    {
      path: '/',