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'); -}