瀏覽代碼

修改虚拟路径

plg 2 周之前
父節點
當前提交
85df3aada9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/router/index.js
  2. 1 1
      vue.config.js

+ 1 - 1
src/router/index.js

@@ -8,7 +8,7 @@ const RouterConfig = {
   mode: "history",
   // base: process.env.BASE_URL,
   // base: 'child_pc',
-  base: "fireBrigadePc",
+  base: "fireBrigadeManage",
   // base: '',
   routes: routers,
 };

+ 1 - 1
vue.config.js

@@ -1,6 +1,6 @@
 module.exports = {
     // publicPath: '/child_pc/',
-    publicPath: '/fireBrigadePc',
+    publicPath: '/fireBrigadeManage',
     assetsDir:"static",
     outputDir: 'child',
     indexPath:"index.html",