diff --git a/config/index.js b/config/index.js index 2193654..6741092 100644 --- a/config/index.js +++ b/config/index.js @@ -69,8 +69,8 @@ }, "/IotPc": { // 物联网平台端信息汇总 - // 'target': 'http://192.168.16.115:8288', // 接口域名 - target: "http://132.232.115.20:8289", // 接口域名 + 'target': 'http://192.168.16.100:8861', // 接口域名 + // target: "http://132.232.115.20:8289", // 接口域名 changeOrigin: true, //是否跨域 pathRewrite: { "^/IotPc": "" //需要rewrite重写的, @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index 2193654..6741092 100644 --- a/config/index.js +++ b/config/index.js @@ -69,8 +69,8 @@ }, "/IotPc": { // 物联网平台端信息汇总 - // 'target': 'http://192.168.16.115:8288', // 接口域名 - target: "http://132.232.115.20:8289", // 接口域名 + 'target': 'http://192.168.16.100:8861', // 接口域名 + // target: "http://132.232.115.20:8289", // 接口域名 changeOrigin: true, //是否跨域 pathRewrite: { "^/IotPc": "" //需要rewrite重写的, @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/configure/RtuConfig.vue b/src/components/configure/RtuConfig.vue index d52244a..97f70bb 100644 --- a/src/components/configure/RtuConfig.vue +++ b/src/components/configure/RtuConfig.vue @@ -1,1032 +1,1048 @@ - - - + + + diff --git a/config/index.js b/config/index.js index 2193654..6741092 100644 --- a/config/index.js +++ b/config/index.js @@ -69,8 +69,8 @@ }, "/IotPc": { // 物联网平台端信息汇总 - // 'target': 'http://192.168.16.115:8288', // 接口域名 - target: "http://132.232.115.20:8289", // 接口域名 + 'target': 'http://192.168.16.100:8861', // 接口域名 + // target: "http://132.232.115.20:8289", // 接口域名 changeOrigin: true, //是否跨域 pathRewrite: { "^/IotPc": "" //需要rewrite重写的, @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/configure/RtuConfig.vue b/src/components/configure/RtuConfig.vue index d52244a..97f70bb 100644 --- a/src/components/configure/RtuConfig.vue +++ b/src/components/configure/RtuConfig.vue @@ -1,1032 +1,1048 @@ - - - + + + diff --git a/src/router/index.js b/src/router/index.js index cb21321..824901e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -201,7 +201,7 @@ }, { path: "/", - redirect: "/Login" + redirect: "/configure/RtuConfig" }, { path: "*",