From 03164bc87accb28cfa9631183d88f90cd21fac2d Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 29 Jul 2025 10:30:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90openisle=E3=80=91=E5=B0=B1?= =?UTF-8?q?=E6=98=AF=E9=80=89=E4=BA=86=E7=B1=BB=E5=88=AB=E6=88=96=E8=80=85?= =?UTF-8?q?tag=E4=B9=8B=E5=90=8E=EF=BC=8C=E6=83=B3=E8=A6=81=E5=9B=9E?= =?UTF-8?q?=E5=88=B0=E6=97=A0=E7=AD=9B=E9=80=89=E7=8A=B6=E6=80=81=E5=8F=AA?= =?UTF-8?q?=E8=83=BD=E4=BB=8E=E7=AD=9B=E9=80=89=E6=A1=86=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=97=A0=E7=B1=BB=E5=88=AB=E6=89=8D=E8=83=BD=E5=9B=9E=E5=8E=BB?= =?UTF-8?q?=E3=80=82=E7=82=B9=E9=A6=96=E9=A1=B5=E6=97=A0=E6=B3=95=E5=9B=9E?= =?UTF-8?q?=E5=88=B0=E6=9C=80=E5=88=9D=E7=8A=B6=E6=80=81=EF=BC=8C=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E4=B8=8D=E5=A4=AA=E7=AC=A6=E5=90=88=E9=80=9A?= =?UTF-8?q?=E7=94=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- open-isle-cli/src/components/MenuComponent.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/open-isle-cli/src/components/MenuComponent.vue b/open-isle-cli/src/components/MenuComponent.vue index cfc5650f3..c79521c98 100644 --- a/open-isle-cli/src/components/MenuComponent.vue +++ b/open-isle-cli/src/components/MenuComponent.vue @@ -6,7 +6,7 @@ class="menu-item" exact-active-class="selected" to="/" - @click="handleItemClick" + @click="handleHomeClick" > 话题 @@ -197,6 +197,11 @@ export default { }, methods: { cycleTheme, + handleHomeClick() { + this.$router.push('/').then(() => { + window.location.reload() + }) + }, handleItemClick() { if (window.innerWidth <= 768) this.$emit('item-click') },