图片显示问题

This commit is contained in:
2025-01-20 17:34:32 +08:00
parent 44758d295f
commit 5315cb8ce5
3 changed files with 5 additions and 4 deletions

View File

@@ -372,7 +372,7 @@ export default {
const arr = []
arr.push(this.popData.device_code)
crudProduceScreen.fabOrders({ deviceCodes: arr }).then(res => {
this.imgSrc = res.path
this.imgSrc = '//images.weserv.nl/?url=' + res.path
this.popList = [...res.material]
this.popList.map(el => {
this.$set(el, 'material_qty', 0)
@@ -389,7 +389,7 @@ export default {
handleCurrentChange(val) {
if (val) {
this.currentRow = val
this.imgSrc = val.vehicle_path
this.imgSrc = '//images.weserv.nl/?url=' + val.vehicle_path
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => {
this.popSecList = [...res]
})
@@ -465,7 +465,7 @@ export default {
},
handleCurrentChange1(val) {
if (val) {
this.imgSrc = val.material_path
this.imgSrc = '//images.weserv.nl/?url=' + val.material_path
}
}
}