mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
types(Uploader): add closeImagePreview method type
This commit is contained in:
@@ -212,6 +212,7 @@ export default createComponent({
|
||||
});
|
||||
},
|
||||
|
||||
// @exposed-api
|
||||
closeImagePreview() {
|
||||
if (this.imagePreview) {
|
||||
this.imagePreview.close();
|
||||
|
||||
Reference in New Issue
Block a user