diff --git a/config/index.js b/config/index.js index 460d843..2a40e5e 100644 --- a/config/index.js +++ b/config/index.js @@ -69,7 +69,7 @@ }, "/IotPc": { // 物联网平台端信息汇总 - 'target': 'http://192.168.16.100:8861', // 接口域名 + target: "http://192.168.16.100:8861", // 接口域名 // target: "http://132.232.115.20:8289", // 接口域名 changeOrigin: true, //是否跨域 pathRewrite: { @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.16.109", // 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 460d843..2a40e5e 100644 --- a/config/index.js +++ b/config/index.js @@ -69,7 +69,7 @@ }, "/IotPc": { // 物联网平台端信息汇总 - 'target': 'http://192.168.16.100:8861', // 接口域名 + target: "http://192.168.16.100:8861", // 接口域名 // target: "http://132.232.115.20:8289", // 接口域名 changeOrigin: true, //是否跨域 pathRewrite: { @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.16.109", // 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/site/previewOfSiteStatus.vue b/src/components/site/previewOfSiteStatus.vue index 6613471..c6aa3f6 100644 --- a/src/components/site/previewOfSiteStatus.vue +++ b/src/components/site/previewOfSiteStatus.vue @@ -491,7 +491,7 @@ }); this.namelist[index].select = true; - // console.log(this.platformtype, this.ChecksplatformCode); + console.log(this.platformtype, this.ChecksplatformCode); this.platformtype = item.type; this.$http