From 9e9b617c7a13510f3c8b26b857bdd0177548cb25 Mon Sep 17 00:00:00 2001 From: duxiaoning <17621883433@163.com> Date: Fri, 30 Aug 2024 22:48:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Daichuli/Feedback/Inspection/index.vue | 6 +++--- vue.config.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/Daichuli/Feedback/Inspection/index.vue b/src/views/Daichuli/Feedback/Inspection/index.vue index 042a417..a2d76b7 100644 --- a/src/views/Daichuli/Feedback/Inspection/index.vue +++ b/src/views/Daichuli/Feedback/Inspection/index.vue @@ -280,10 +280,10 @@ export default { const pm = (self.productMsg = am.productMsg); self.geoWorkSpace = pm.geoWorkspace; self.geoLayerName = pm.geoLayerName; - self.tifPath = pm.ftpPath; + // self.tifPath = pm.ftpPath; //由于空天院内网服务无法拉取外网资源,先改成内网资源访问 - // let rt = pm.ftpPath.split('/'); - // self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; + let rt = pm.ftpPath.split('/'); + self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; self.projection = pm.projection; // 赋值真实性检验方法 diff --git a/vue.config.js b/vue.config.js index 529d14f..00e84bb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,16 +35,16 @@ module.exports = { } }, [process.env.VUE_APP_REALITY_API]: { - // target: "https://124.16.188.131:28092/microwave", - target: "http://192.168.1.227:18092/microwave", + target: "https://124.16.188.131:28092/microwave", + // target: "http://192.168.1.227:18092/microwave", changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_REALITY_API]: "" } }, [process.env.VUE_APP_FILE_API]: { - // target: "https://124.16.188.131:28093/file", - target: "http://192.168.1.227:18093/file", + target: "https://124.16.188.131:28093/file", + // target: "http://192.168.1.227:18093/file", changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_FILE_API]: ""