From 6c383b58c86218a46ccc3e1a859e6234487dd001 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Wed, 24 Jul 2024 17:18:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E4=BD=BF=E7=94=A8=E6=89=8B=E5=86=8C,?= =?UTF-8?q?=E5=AE=98=E7=BD=91=E8=BF=9B=E8=A1=8C=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/BasicLayout.vue | 8 +++++++- src/layouts/components/RightContent.vue | 7 ++++++- src/views/login.vue | 17 ---------------- .../setting/components/change-help-doc.vue | 2 ++ .../system/setting/components/change-logo.vue | 8 ++++++-- src/views/system/setting/index.vue | 20 +++++++++++-------- 6 files changed, 33 insertions(+), 29 deletions(-) diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index a3aaade7..089acd16 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -343,11 +343,17 @@ onUnmounted(() => { :href="appStore.officialUrl" target="_blank" size="small" + v-perms:has="['system:setting:link']" v-if="appStore.officialUrl !== '#'" > {{ t('loayouts.basic.officialUrl') }} - + {{ t('loayouts.basic.helpDoc') }} diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue index f78d7eaa..9c59821f 100644 --- a/src/layouts/components/RightContent.vue +++ b/src/layouts/components/RightContent.vue @@ -126,7 +126,12 @@ function fnChangeLocale(e: any) { - + diff --git a/src/views/login.vue b/src/views/login.vue index 3d80bdea..9c086ef9 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -166,23 +166,6 @@ function fnClickHelpDoc(language?: string) { -
- - - {{ t('loayouts.basic.officialUrl') }} - - - - {{ t('loayouts.basic.helpDoc') }} - - -