fix:[ImageCropper]: $emit close

This commit is contained in:
Pan 2018-03-19 17:33:23 +08:00
parent 5fe3d70246
commit 2afb1dfabb
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ export default {
off() { off() {
setTimeout(() => { setTimeout(() => {
this.$emit('input', false) this.$emit('input', false)
this.$emit('close')
if (this.step == 3 && this.loading == 2) { if (this.step == 3 && this.loading == 2) {
this.setStep(1) this.setStep(1)
} }