diff --git a/components/ImgCropper.vue b/components/ImgCropper.vue index 8b0e8b9..3c45736 100644 --- a/components/ImgCropper.vue +++ b/components/ImgCropper.vue @@ -75,13 +75,8 @@ export default { methods: { onSubmit() { this.$refs.cropper.getCropData(data => { - // console.log(data) this.$emit('onSubmit',data) }); - - /* - this.$emit('onSubmit',this.cropImg) - */ }, onOpen() { this.oldAvatarUrl = JSON.parse(JSON.stringify(this.avatarUrl)) diff --git a/pages/admin.vue b/pages/admin.vue index d6e9635..7fe431e 100644 --- a/pages/admin.vue +++ b/pages/admin.vue @@ -1,13 +1,13 @@