对使用手册,官网进行限制
This commit is contained in:
@@ -343,11 +343,17 @@ onUnmounted(() => {
|
|||||||
:href="appStore.officialUrl"
|
:href="appStore.officialUrl"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
size="small"
|
size="small"
|
||||||
|
v-perms:has="['system:setting:link']"
|
||||||
v-if="appStore.officialUrl !== '#'"
|
v-if="appStore.officialUrl !== '#'"
|
||||||
>
|
>
|
||||||
{{ t('loayouts.basic.officialUrl') }}
|
{{ t('loayouts.basic.officialUrl') }}
|
||||||
</a-button>
|
</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') }}
|
{{ t('loayouts.basic.helpDoc') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
|
|||||||
@@ -126,7 +126,12 @@ function fnChangeLocale(e: any) {
|
|||||||
|
|
||||||
<a-tooltip placement="bottom">
|
<a-tooltip placement="bottom">
|
||||||
<template #title>{{ t('loayouts.rightContent.helpDoc') }}</template>
|
<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>
|
<template #icon>
|
||||||
<QuestionCircleOutlined />
|
<QuestionCircleOutlined />
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -166,23 +166,6 @@ function fnClickHelpDoc(language?: string) {
|
|||||||
<img :src="logoUrl" class="logo-brand" :alt="appStore.appName" />
|
<img :src="logoUrl" class="logo-brand" :alt="appStore.appName" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-right">
|
|
||||||
<a-space direction="horizontal" :size="8">
|
|
||||||
<a-button
|
|
||||||
type="link"
|
|
||||||
:href="appStore.officialUrl"
|
|
||||||
target="_blank"
|
|
||||||
size="small"
|
|
||||||
v-if="appStore.officialUrl !== '#'"
|
|
||||||
>
|
|
||||||
{{ t('loayouts.basic.officialUrl') }}
|
|
||||||
</a-button>
|
|
||||||
|
|
||||||
<a-button type="link" size="small" @click="fnClickHelpDoc()">
|
|
||||||
{{ t('loayouts.basic.helpDoc') }}
|
|
||||||
</a-button>
|
|
||||||
</a-space>
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<a-card :bordered="false" class="login-card">
|
<a-card :bordered="false" class="login-card">
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ onMounted(() => {
|
|||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="state.language"
|
v-model:value="state.language"
|
||||||
|
:disabled="!appStore.i18nOpen"
|
||||||
style="width: 100px"
|
style="width: 100px"
|
||||||
size="small"
|
size="small"
|
||||||
v-perms:has="['system:setting:i18n']"
|
v-perms:has="['system:setting:i18n']"
|
||||||
@@ -168,6 +169,7 @@ onMounted(() => {
|
|||||||
v-model:value="state.language"
|
v-model:value="state.language"
|
||||||
style="width: 100px"
|
style="width: 100px"
|
||||||
size="small"
|
size="small"
|
||||||
|
:disabled="!appStore.i18nOpen"
|
||||||
v-perms:has="['system:setting:i18n']"
|
v-perms:has="['system:setting:i18n']"
|
||||||
>
|
>
|
||||||
<a-select-option
|
<a-select-option
|
||||||
|
|||||||
@@ -243,7 +243,11 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item v-perms:has="['system:setting:i18n']">
|
<a-form-item v-perms:has="['system:setting:i18n']">
|
||||||
<a-select v-model:value="state.language" style="width: 100px">
|
<a-select
|
||||||
|
v-model:value="state.language"
|
||||||
|
:disabled="!appStore.i18nOpen"
|
||||||
|
style="width: 100px"
|
||||||
|
>
|
||||||
<a-select-option
|
<a-select-option
|
||||||
v-for="opt in optionsLocale"
|
v-for="opt in optionsLocale"
|
||||||
:key="opt.value"
|
:key="opt.value"
|
||||||
@@ -363,7 +367,7 @@ onMounted(() => {
|
|||||||
margin: 0 0 0 12px;
|
margin: 0 0 0 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
||||||
> .app-name_scrollable {
|
> .app-name_scrollable {
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@@ -31,14 +31,18 @@ const { t } = useI18n();
|
|||||||
{{ t('views.system.setting.sysLoginBg') }}
|
{{ t('views.system.setting.sysLoginBg') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
<ChangeLogoBG></ChangeLogoBG>
|
<ChangeLogoBG></ChangeLogoBG>
|
||||||
<a-divider orientation="left">
|
<div v-perms:has="['system:setting:HelpDoc']">
|
||||||
{{ t('views.system.setting.sysHelpDoc') }}
|
<a-divider orientation="left">
|
||||||
</a-divider>
|
{{ t('views.system.setting.sysHelpDoc') }}
|
||||||
<ChangeHelpDoc></ChangeHelpDoc>
|
</a-divider>
|
||||||
<a-divider orientation="left">
|
<ChangeHelpDoc></ChangeHelpDoc>
|
||||||
{{ t('views.system.setting.sysOfficialUrl') }}
|
</div>
|
||||||
</a-divider>
|
<div v-perms:has="['system:setting:link']">
|
||||||
<ChangeOfficialUrl></ChangeOfficialUrl>
|
<a-divider orientation="left">
|
||||||
|
{{ t('views.system.setting.sysOfficialUrl') }}
|
||||||
|
</a-divider>
|
||||||
|
<ChangeOfficialUrl></ChangeOfficialUrl>
|
||||||
|
</div>
|
||||||
<div v-perms:has="['system:setting:i18n']">
|
<div v-perms:has="['system:setting:i18n']">
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.system.setting.i18n') }}
|
{{ t('views.system.setting.i18n') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user