对使用手册,官网进行限制

This commit is contained in:
lai
2024-07-24 17:18:15 +08:00
parent fac47279b5
commit 6c383b58c8
6 changed files with 33 additions and 29 deletions

View File

@@ -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') }}
</a-button>
<a-button type="link" size="small" @click="fnClickHelpDoc()">
<a-button
type="link"
size="small"
v-perms:has="['system:setting:HelpDoc']"
@click="fnClickHelpDoc()"
>
{{ t('loayouts.basic.helpDoc') }}
</a-button>
</a-space>

View File

@@ -126,7 +126,12 @@ function fnChangeLocale(e: any) {
<a-tooltip placement="bottom">
<template #title>{{ t('loayouts.rightContent.helpDoc') }}</template>
<a-button type="text" style="color: inherit" @click="fnClickHelpDoc()">
<a-button
type="text"
style="color: inherit"
@click="fnClickHelpDoc()"
v-perms:has="['system:setting:HelpDoc']"
>
<template #icon>
<QuestionCircleOutlined />
</template>