diff --git a/src/components/common/TopHeader.vue b/src/components/common/TopHeader.vue index 8758b5d6..a1caf728 100644 --- a/src/components/common/TopHeader.vue +++ b/src/components/common/TopHeader.vue @@ -22,6 +22,8 @@ @@ -66,6 +68,12 @@ export default defineComponent({ name: 'login' }); }, + onProfile() { + window.location.href = 'https://auth.test.zhishuyun.com/user/profile'; + }, + onVerify() { + window.location.href = 'https://auth.test.zhishuyun.com/user/verify'; + }, onLogout() { this.$store.dispatch('resetAuth'); this.$router.push('/'); diff --git a/src/i18n/zh/common/button.ts b/src/i18n/zh/common/button.ts index f913377c..02662685 100644 --- a/src/i18n/zh/common/button.ts +++ b/src/i18n/zh/common/button.ts @@ -11,7 +11,8 @@ export default { info: '提示', publish: '发布', watch: '观看', - verify: '去实名认证', + verify: '实名认证', + profile: '个人信息', learn: '学习', buy: '购买' };