From c1f34f56ace037566f27e9469c3335e7df2e4a2f Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 24 Jul 2024 18:10:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E4=BD=BF=E7=94=A8=E6=89=8B?= =?UTF-8?q?=E5=86=8C,=E5=AE=98=E7=BD=91=E8=BF=9B=E8=A1=8C=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/BasicLayout.vue | 4 +- src/layouts/components/RightContent.vue | 94 ++++++++++++------------- src/views/login.vue | 10 --- src/views/system/setting/index.vue | 4 +- 4 files changed, 51 insertions(+), 61 deletions(-) diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index 089acd16..63d21828 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -343,7 +343,7 @@ onUnmounted(() => { :href="appStore.officialUrl" target="_blank" size="small" - v-perms:has="['system:setting:link']" + v-perms:has="['system:setting:official']" v-if="appStore.officialUrl !== '#'" > {{ t('loayouts.basic.officialUrl') }} @@ -351,7 +351,7 @@ onUnmounted(() => { {{ t('loayouts.basic.helpDoc') }} diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue index 9c59821f..785343be 100644 --- a/src/layouts/components/RightContent.vue +++ b/src/layouts/components/RightContent.vue @@ -89,54 +89,54 @@ function fnChangeLocale(e: any) { - - - - - - - - {{ t('loayouts.rightContent.lockPasswd') }}: - - - - - - + + + + + + + + + {{ t('loayouts.rightContent.lockPasswd') }}: + + + + + + + - - - - - - + + + + + + + + + diff --git a/src/views/login.vue b/src/views/login.vue index 9c086ef9..13892164 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -134,16 +134,6 @@ onMounted(() => { function fnChangeLocale(e: any) { changeLocale(e.key); } - -/**系统使用手册跳转 */ -function fnClickHelpDoc(language?: string) { - const routeData = router.resolve({ name: 'HelpDoc' }); - let href = routeData.href; - if (language) { - href = `${routeData.href}?language=${language}`; - } - window.open(href, '_blank'); -}