From bfe591cb1b75115cda6b7ae2567a3db605a0c27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 15 Oct 2024 13:32:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/magic-cube/index.vue | 3 ++- src/components/model-custom/components/index.vue | 5 ++++- .../model-img-magic/model-img-magic-content.vue | 9 ++++++++- src/config/const/img-magic.ts | 2 ++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/components/common/magic-cube/index.vue b/src/components/common/magic-cube/index.vue index f3c3de6d..0d9bce3f 100644 --- a/src/components/common/magic-cube/index.vue +++ b/src/components/common/magic-cube/index.vue @@ -13,7 +13,7 @@ diff --git a/src/config/const/img-magic.ts b/src/config/const/img-magic.ts index 43819acc..1a52ff58 100644 --- a/src/config/const/img-magic.ts +++ b/src/config/const/img-magic.ts @@ -10,6 +10,7 @@ interface defaultSearch { content: { style_actived: number; img_magic_list: img_magic[]; + img_fit: string; }; style: { radius: number; @@ -39,6 +40,7 @@ const defaultSearch: defaultSearch = { img_link: {} } ], + img_fit: 'cover', }, style: { radius: 0,