types(Uploader): add closeImagePreview method type

This commit is contained in:
陈嘉涵
2019-12-22 17:25:47 +08:00
committed by neverland
parent 3c526ec1a2
commit cf191e09cb
9 changed files with 17 additions and 5 deletions

View File

@@ -212,6 +212,7 @@ export default createComponent({
});
},
// @exposed-api
closeImagePreview() {
if (this.imagePreview) {
this.imagePreview.close();