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' }, ],