From 082b572b91abd0d5ae8e409714553130448aa6d1 Mon Sep 17 00:00:00 2001
From: 张涛 <“2538313560@qq.com”>
Date: 星期五, 30 八月 2024 17:25:44 +0800
Subject: [PATCH] fix:薪资调整

---
 vue.config.js |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index ffe1a1d..459f1e7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,28 +1,29 @@
 const path = require("path")
 // 鍩虹璺緞 娉ㄦ剰鍙戝竷涔嬪墠瑕佸厛淇敼杩欓噷
-const publicPath = "/"
+const publicPath = "./"
 function resolve(dir) {
   return path.join(__dirname, dir)
 }
-
+// TAG: 娴嬭瘯浠g爜闇�瑕佸垹闄�
+// const serverPath = `http://192.168.1.174:8008`;
+const serverPath="http://silk.fai365.com";
 // 璁剧疆涓嶅弬涓庢瀯寤虹殑搴�
-const externals = {}
+const externals = {};
 module.exports = {
   publicPath,
   lintOnSave: false,
   productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤�
   devServer: {
     proxy: {
-      "/api": {
-
-        // target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/
-        // target: "http://192.168.20.120:8008", 
-        target: "http://192.168.20.119:8004", // http://192.168.20.119:8004 http://fai365.com:30150/
-
+      "/api-jl": {
+        target: serverPath, // http://192.168.20.119:8004 http://fai365.com:30150/
         ws: true,
         changeOrigin: true
       }
-    }
+    },
+    client: {
+      overlay: false,
+    },
   },
   transpileDependencies: [
     // 鍏煎IE11娴忚鍣�(鍏煎npm鍖呭拰cnpm鍖�)
@@ -62,4 +63,4 @@
       }
     }
   }
-}
+};

--
Gitblit v1.8.0