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

@@ -3,6 +3,7 @@ export { default as Animation } from './general/animation.vue';
export { default as General } from './general/general.vue';
export { default as Breadcrumb } from './layout/breadcrumb.vue';
export { default as Content } from './layout/content.vue';
export { default as Copyright } from './layout/copyright.vue';
export { default as Footer } from './layout/footer.vue';
export { default as Header } from './layout/header.vue';
export { default as Layout } from './layout/layout.vue';

View File

@@ -0,0 +1,17 @@
<script setup lang="ts">
import { $t } from '@vben/locales';
import SwitchItem from '../switch-item.vue';
defineOptions({
name: 'PreferenceBreadcrumbConfig',
});
const copyrightEnable = defineModel<boolean>('copyrightEnable');
</script>
<template>
<SwitchItem v-model="copyrightEnable">
{{ $t('preferences.copyright.enable') }}
</SwitchItem>
</template>