rev:获取图片修改
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user