vue-image-crop-upload
vue-image-crop-upload copied to clipboard
通过v-model关闭控件后异常
比如上传成功后自动关闭,在@crop-upload-success中设置v-model为false关闭 此时再设置v-model为true打开不会出现drop-area,因为step没有正确置为1 修改watch value函数,在this.reset()后设置this.step=1解决
也可以使用ref,调用 this.$refs.ref名.off()
来重置状态