Bläddra i källkod

70地址更新

zhangliang2 3 år sedan
förälder
incheckning
6ba0d1b98a
3 ändrade filer med 16 tillägg och 15 borttagningar
  1. 1 0
      src/api/mainPage.js
  2. 1 1
      src/store/index.js
  3. 14 14
      vue.config.js

+ 1 - 0
src/api/mainPage.js

@@ -16,6 +16,7 @@ const selectEvaluationLevel = basePart + '/homePage/selectEvaluationLevel'; // 
 
 
 // http://10.15.12.74:7003/simulation/resource/server/homePage/selectServer
+// http://10.12.10.74:7003/simulation/resource/server/homePage/selectServer
 
 export default {
     selectHardware,

+ 1 - 1
src/store/index.js

@@ -7,7 +7,7 @@ export default new Vuex.Store({
   state: {
     // configTitleList: ['摄像头', '完美传感器', '激光雷达', '毫米波雷达', 'GPS'],
     configTitleList: ['摄像头', '完美传感器', '激光雷达', 'GPS'],
-    fileHost: 'http://10.15.12.70:8001', // 开发环境需要连开发服务器地址,上线后会用相对地址拼接fileUrl
+    fileHost: 'http://10.12.10.70:8001', // 开发环境需要连开发服务器地址,上线后会用相对地址拼接fileUrl
     fileUrl: '/simulation/resource/common/minio/preview',
     themeColor: '#3397FF',
   },

+ 14 - 14
vue.config.js

@@ -77,7 +77,7 @@ module.exports = {
         hot: true,
         proxy: { // 配置跨域处理 可以设置多个
             '/simulation/oauth': {
-                target: 'http://10.15.12.70', // windowstest
+                target: 'http://10.12.10.70', // windowstest
                 changeOrigin: true,
                 secure: false, // 如果是https接口,需要配置这个参数
                 pathRewrite: {
@@ -86,15 +86,15 @@ module.exports = {
             },
             '/simulation/resource/common': {
                 // target: 'http://10.10.83.145:6888/user-center',
-                // target: 'http://10.15.12.70/simulation',
-                // target: 'http://10.15.12.70:7001', // 登录
-                // target: 'http://10.15.12.73:7003',  // 王志强
-                target: 'http://10.15.12.70', // windowstest
-                // target: 'http://10.15.12.87:8001',  // 赵艳
-                // target: 'http://10.15.12.72:8001',  // 王晓峰
+                // target: 'http://10.12.10.70/simulation',
+                // target: 'http://10.12.10.70:7001', // 登录
+                // target: 'http://10.12.10.73:7003',  // 王志强
+                target: 'http://10.12.10.70', // windowstest
+                // target: 'http://10.12.10.87:8001',  // 赵艳
+                // target: 'http://10.12.10.72:8001',  // 王晓峰
                 // target: 'http://192.168.30.75',  // gq
                 // target: 'http://47.94.105.148',  // aliyun
-                // target: 'http://10.15.12.74:8001',
+                // target: 'http://10.12.10.74:8001',
                 changeOrigin: true,
                 secure: false, // 如果是https接口,需要配置这个参数
                 pathRewrite: {
@@ -102,14 +102,14 @@ module.exports = {
                 }
             },
             '/simulation/resource/server': {
-                // target: 'http://10.15.12.73:7003', // 王志强
-                // target: 'http://10.15.12.88:7003', // 王耀栋
-                // target: 'http://10.15.12.72:7003',  // 王晓峰
-                // target: 'http://10.15.12.87:7003',  // 赵艳
-                target: 'http://10.15.12.70',  // windowstest
+                // target: 'http://10.12.10.73:7003', // 王志强
+                // target: 'http://10.12.10.88:7003', // 王耀栋
+                // target: 'http://10.12.10.72:7003',  // 王晓峰
+                // target: 'http://10.12.10.87:7003',  // 赵艳
+                target: 'http://10.12.10.70',  // windowstest
                 // target: 'http://192.168.30.75',  // gq
                 // target: 'http://47.94.105.148',  // aliyun
-                // target: 'http://10.15.12.74:7003', // 孟令鑫
+                // target: 'http://10.12.10.74:7003', // 孟令鑫
                 changeOrigin: true,
                 secure: false, // 如果是https接口,需要配置这个参数
                 pathRewrite: {