From 797c25bfe9291e903f31649f90fb339e29faa67e Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Thu, 10 Oct 2024 16:35:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B4=BB=E5=8A=A8=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/cn.ts | 1 + src/lang/en.ts | 1 + src/views/HomeMain.vue | 3 ++- src/views/HomeView/Works.vue | 4 ++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lang/cn.ts b/src/lang/cn.ts index 9b931292..512fb55b 100644 --- a/src/lang/cn.ts +++ b/src/lang/cn.ts @@ -516,6 +516,7 @@ export default { all:'全部', FavoriteWorks:'点赞的作品', MyWorks:'我的作品', + RCAworkshop_2024:'AiDA工作坊 2024', }, Publish:{ Publish:'发布', diff --git a/src/lang/en.ts b/src/lang/en.ts index 364b7867..00d64b2d 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -517,6 +517,7 @@ export default { all:'All', FavoriteWorks:'Favorite Works', MyWorks:'My Works', + RCAworkshop_2024:'AiDA Workshop 2024', }, Publish:{ Publish:'Publish', diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index 3dce0f42..ea72da70 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -437,7 +437,8 @@ export default defineComponent({ // this.$router.push("/home") // } this.store.commit('clearAllData') - window.location.reload() + // window.location.reload() + window.location.href = '/home'; } } }) diff --git a/src/views/HomeView/Works.vue b/src/views/HomeView/Works.vue index bb77ade2..0b1833a3 100644 --- a/src/views/HomeView/Works.vue +++ b/src/views/HomeView/Works.vue @@ -8,7 +8,7 @@ {{ item.name }} - + @@ -89,7 +89,7 @@ export default defineComponent({ value: 'myWorks' }, { - name: 'RCA Workshop 2024', + name: useI18n().t('works.RCAworkshop_2024'), value: 'RCAworkshop_2024' }, ],