Merge remote-tracking branch 'origin/main' into multi-tenant

This commit is contained in:
lai
2024-07-24 18:36:11 +08:00
4 changed files with 56 additions and 62 deletions

View File

@@ -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');
}
</script>
<template>

View File

@@ -31,13 +31,13 @@ const { t } = useI18n();
{{ t('views.system.setting.sysLoginBg') }}
</a-divider>
<ChangeLogoBG></ChangeLogoBG>
<div v-perms:has="['system:setting:HelpDoc']">
<div v-perms:has="['system:setting:doc']">
<a-divider orientation="left">
{{ t('views.system.setting.sysHelpDoc') }}
</a-divider>
<ChangeHelpDoc></ChangeHelpDoc>
</div>
<div v-perms:has="['system:setting:link']">
<div v-perms:has="['system:setting:official']">
<a-divider orientation="left">
{{ t('views.system.setting.sysOfficialUrl') }}
</a-divider>