From 2bc5a11946ccec7f4a13e996d72ac1c0f54468df Mon Sep 17 00:00:00 2001 From: wangqiao Date: Mon, 29 Sep 2025 09:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=83=AD=E9=97=A8=E7=BB=98?= =?UTF-8?q?=E7=94=BB=E7=BB=84=E4=BB=B6=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/components/PopularDrawings.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/home/components/PopularDrawings.vue b/pages/home/components/PopularDrawings.vue index 48360bb..973897f 100644 --- a/pages/home/components/PopularDrawings.vue +++ b/pages/home/components/PopularDrawings.vue @@ -155,7 +155,7 @@ const all = [{ id: '0', name: '全部分类', children: [] }] if (Array.isArray(res.data) && res.data?.length > 0) { const total = [...res.data, ...all] - // query.projectTypeDay = total[0]?.id || '' + query.projectTypeDay = total[0]?.id || '' // query.projectType = total[0]!.children?.[0]?.id || '' return total } @@ -206,10 +206,10 @@ // } const handleHover = (item: ProjectDictNodeVO) => { - query.projectTypeDay = item.id || '' if (item.name === '全部分类') return + query.projectTypeDay = item.id || '' // projectTypeListChildren.value = item.children || [] - query.projectType = item.children?.[0].id || '' + // query.projectType = item.id || '' // 热门数据 getHotTop() }