[improvement] Uploader: should close image preview when popstate (#4151)

This commit is contained in:
neverland 2019-08-19 14:09:55 +08:00 committed by GitHub
parent 643003b43c
commit a730a55e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,7 @@ export default createComponent({
ImagePreview({
images: imageFiles,
closeOnPopstate: true,
startPosition: imageFiles.indexOf(item.content || item.url)
});
},