rev:获取图片修改

This commit is contained in:
2025-12-18 16:51:15 +08:00
parent 537e9ae64c
commit 131b130f8f

View File

@@ -170,11 +170,11 @@ export default {
this.crud.toQuery() this.crud.toQuery()
}, },
toView(vehicle) { toView(vehicle) {
this.showModal = true
crudStructivt.imageLoad(vehicle).then(response => { crudStructivt.imageLoad(vehicle).then(response => {
const blob = new Blob([response]) // 尽可能根据响应头确定类型 const blob = new Blob([response]) // 尽可能根据响应头确定类型
this.imageUrl = URL.createObjectURL(blob) this.imageUrl = URL.createObjectURL(blob)
} this.showModal = true
}
) )
}, },
sectQueryChange(val) { sectQueryChange(val) {