mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[new feature] ImagePreview: add change event (#3155)
This commit is contained in:
@@ -201,6 +201,7 @@ export default sfc({
|
||||
onChange(active) {
|
||||
this.resetScale();
|
||||
this.active = active;
|
||||
this.$emit('change', active);
|
||||
},
|
||||
|
||||
resetScale() {
|
||||
|
Reference in New Issue
Block a user