From 0e669aab002c3a63f62ce68d7c5acd1a7154882d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9D=E6=A2=A6=E5=9B=AD?= Date: Wed, 6 Mar 2024 16:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98-fix=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E8=B7=B3=E8=BD=AC=E4=B8=A2=E5=A4=B1=E5=92=8C?= =?UTF-8?q?name=E4=B8=8D=E5=AD=98=E5=9C=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ImgCropper.vue | 5 - pages/admin.vue | 24 +- .../admin/{products.vue => product/index.vue} | 115 ++- pages/admin/product/post/_product_id.vue | 853 +++++++++--------- pages/user/settings/account.vue | 3 +- 5 files changed, 499 insertions(+), 501 deletions(-) rename pages/admin/{products.vue => product/index.vue} (67%) 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 d5bd9a0..ca02b03 100644 --- a/pages/admin.vue +++ b/pages/admin.vue @@ -1,13 +1,13 @@