From c9ca5ba46e3ccc6d725bbd1850f25d40fabebf96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 3 Mar 2025 09:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=9A=E5=AE=A2=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E5=8D=A1=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-blog-tabs/model-blog-tabs-content.vue | 4 ++-- src/config/const/blog-list.ts | 4 ++-- src/config/const/blog-tabs.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/model-blog-tabs/model-blog-tabs-content.vue b/src/components/model-blog-tabs/model-blog-tabs-content.vue index f70f215f..c57d2569 100644 --- a/src/components/model-blog-tabs/model-blog-tabs-content.vue +++ b/src/components/model-blog-tabs/model-blog-tabs-content.vue @@ -227,8 +227,8 @@ const blog_theme_change = (val: any) => { const list = base_list.blog_theme_list.filter(item => item.value == val); if (list.length > 0) { // emits('theme_change', list[0].width, list[0].height); - styles.value.content_img_width = list[0].width; - styles.value.content_img_height = list[0].height; + styles.content_img_width = list[0].width; + styles.content_img_height = list[0].height; } }; diff --git a/src/config/const/blog-list.ts b/src/config/const/blog-list.ts index d0b536d9..72270b40 100644 --- a/src/config/const/blog-list.ts +++ b/src/config/const/blog-list.ts @@ -73,8 +73,8 @@ interface DefaultBlogList { blog_spacing: number; content_spacing: number; blog_height: number; - content_img_width: number | undefined; - content_img_height: number | undefined; + content_img_width: number; + content_img_height: number; interval_time: number; //滚动时间 is_roll: number; rolling_fashion: string; diff --git a/src/config/const/blog-tabs.ts b/src/config/const/blog-tabs.ts index a7719038..c0064f94 100644 --- a/src/config/const/blog-tabs.ts +++ b/src/config/const/blog-tabs.ts @@ -127,8 +127,8 @@ interface DefaultBlogTabs { blog_spacing: number; content_spacing: number; blog_height: number; - content_img_width: number | undefined; - content_img_height: number | undefined; + content_img_width: number; + content_img_height: number; interval_time: number; //滚动时间 is_roll: number; rolling_fashion: string;