feat: 应用名和logo修改

This commit is contained in:
caiyuchao
2025-07-07 18:38:09 +08:00
parent d398f3621f
commit c6a1ee5b04
7 changed files with 7 additions and 9 deletions

View File

@@ -4,18 +4,12 @@ import { computed } from 'vue';
import { AuthPageLayout } from '@vben/layouts';
import { preferences } from '@vben/preferences';
import { $t } from '#/locales';
const appName = computed(() => preferences.app.name);
const logo = computed(() => preferences.logo.source);
</script>
<template>
<AuthPageLayout
:app-name="appName"
:logo="logo"
:page-title="$t('authentication.pageTitle')"
>
<AuthPageLayout :app-name="appName" :logo="logo">
<!-- 自定义工具栏 -->
<!-- <template #toolbar></template> -->
</AuthPageLayout>