[new feature] ImagePreview: add change event (#3155)

This commit is contained in:
neverland
2019-04-15 20:09:42 +08:00
committed by GitHub
parent e8762b2a50
commit 8d1c02cfbd
4 changed files with 4 additions and 0 deletions

View File

@@ -201,6 +201,7 @@ export default sfc({
onChange(active) {
this.resetScale();
this.active = active;
this.$emit('change', active);
},
resetScale() {