From 9873d293f0407d77100ab62c5c512d10e1f335f7 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 4 Nov 2025 08:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=88=86=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E6=98=AF=E8=BF=87=E6=BB=A4=E6=B8=85=E7=90=86=E4=BE=9D?= =?UTF-8?q?=E6=97=A7=E5=AD=98=E5=9C=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/article/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pages/article/index.vue b/app/pages/article/index.vue index 5a185e2..86ba2ab 100644 --- a/app/pages/article/index.vue +++ b/app/pages/article/index.vue @@ -67,7 +67,7 @@ watch(page, () => { // 监听查询参数变化 watch(() => route.query.code, (newCode) => { - if (newCode !== code.value) { + if (!newCode && newCode !== code.value) { page.value = 1 fetchArticles() } @@ -164,7 +164,7 @@ onMounted(() => {