瀏覽代碼

修改访问路径

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

+ 1 - 0
src/router/index.js

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

+ 1 - 1
vue.config.js

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