This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -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'
|
||||
},
|
||||
|
Reference in New Issue
Block a user