feat: add copyright components to enable preferences to configure copyright more accurately

This commit is contained in:
vben
2024-07-06 16:19:37 +08:00
parent 826907f6c3
commit 13f3af96b7
13 changed files with 116 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import { preferences } from '@vben-core/preferences';
import { Copyright } from '../basic/copyright';
import Toolbar from './toolbar.vue';
defineOptions({
@@ -28,7 +29,10 @@ defineOptions({
<div
class="text-muted-foreground absolute bottom-3 flex text-center text-xs"
>
{{ preferences.app.copyright }}
<Copyright
v-if="preferences.copyright.enable"
v-bind="preferences.copyright"
/>
</div>
</div>
</template>