From e21d8f0289cab3c3477cc5d5ee76ddb487ec5e51 Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Tue, 2 Dec 2025 14:06:30 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 3 ++- pages/carViolation/indexTwo.vue | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 3f8bff2..6940d00 100644 --- a/main.js +++ b/main.js @@ -134,7 +134,8 @@ export function createApp() { // app.config.globalProperties.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试 // app.config.globalProperties.url_config = 'http://8.136.222.164:8808/'//中科安信 // app.config.globalProperties.url_config = 'http://101.43.164.214:11111/'// 百色三标段 - + app.config.globalProperties.url_config = 'http://101.43.164.214:11000/' // 包头(外网) + app.config.globalProperties.work_url = 'http://101.43.164.214:11000/wflowApp/#/' // 包头(外网) } else { // 生产环境 diff --git a/pages/carViolation/indexTwo.vue b/pages/carViolation/indexTwo.vue index fb86a6e..3ec2d4b 100644 --- a/pages/carViolation/indexTwo.vue +++ b/pages/carViolation/indexTwo.vue @@ -229,7 +229,14 @@ } // console.log('--------') // this.listData = res.result.records - this.listData = [...this.listData, ...res.result.records] + const dataList = res.result.records.map(item => { + return { + ...item, + imageUrl: item.imageUrl.includes("http") ? item.imageUrl : this.url_config+'image/'+item.imageUrl, + } + }) + + this.listData = [...this.listData, ...dataList] uni.hideLoading() //关闭加载中 } }