mirror of
https://gitee.com/mao-peng/MangoTestingPlatform.git
synced 2025-12-06 11:59:15 +08:00
修复图片问题
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<p
|
||||
><span class="label">失败截图</span>:
|
||||
<a-image
|
||||
:src="getImageUrl(minioURL +'/'+ item.picture_path"
|
||||
:src="minioURL + '/' + item.picture_path"
|
||||
width="100"
|
||||
style="margin-right: 67px; vertical-align: top"
|
||||
/>
|
||||
@@ -157,12 +157,6 @@
|
||||
overflow: 'hidden',
|
||||
})
|
||||
|
||||
function getImageUrl(picturePath: any) {
|
||||
if (!picturePath) return ''
|
||||
|
||||
return new URL(picturePath, this.minioURL + '/').toString()
|
||||
}
|
||||
|
||||
onMounted(() => {})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user