fix(image-viewer): fix image src attribute error #1791 (#1819)

Co-authored-by: Xubo Leng <xubo.leng@thoughtworks.com>
This commit is contained in:
xubo leng 2021-04-13 10:40:03 +08:00 committed by GitHub
parent ee7e9c0a00
commit 3359d7b193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@
v-show="i === index"
ref="img"
:key="url"
:src="currentImg"
:src="url"
:style="imgStyle"
class="el-image-viewer__img"
@load="handleImgLoad"