flx:修复图片不显示问题

This commit is contained in:
Rain_ 2025-12-02 14:06:30 +08:00
parent 1c1cdaeec3
commit e21d8f0289
2 changed files with 10 additions and 2 deletions

View File

@ -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 {
// 生产环境

View File

@ -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() //
}
}