图片显示修改
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Has been cancelled

This commit is contained in:
2025-09-16 09:14:44 +08:00
parent 70d7b2081c
commit 9da52525ac
9 changed files with 9 additions and 7 deletions

View File

@@ -171,7 +171,7 @@ export default {
const result = await this.$u.api.getImageUrl({}, imgIds);
if (result.code == 200 && result.data) {
// 提取res.data数组中每个对象的url字段
this.realImages = result.data.map(item => item.url);
this.realImages = result.data.map(item => this.vuex_config.imageUrl+item.url);
}
}
this.loading = false;

View File

@@ -108,7 +108,7 @@ export default {
if (!this.detail.orderImgUrl) return;
const imgIds = this.detail.orderImgUrl.split(',');
const res = await this.$u.api.getImageUrl({}, imgIds.join(','));
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => item.url);
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => this.vuex_config.imageUrl+item.url);
},
async getHandler() {
let handlers = await this.$u.api.getHandler3({}, this.detail.type);

View File

@@ -75,7 +75,7 @@
url:'/pages/sys/user/myRepair/myRepair'
},
{
icon: 'https://picsum.photos/80/80?random=3',
icon: '/static/aaaa_gzxj.png',
text: '工作巡检',
url:'/pages/sys/workbench/inspection/inspection'
},