fix:[ImageCropper]: $emit close
This commit is contained in:
parent
5fe3d70246
commit
2afb1dfabb
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue