chore: update common-ui to universal-ui

This commit is contained in:
vben
2024-06-16 23:20:09 +08:00
parent 95252f62f6
commit 0023964eb7
96 changed files with 107 additions and 95 deletions

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
import { $t } from '@vben/locales';
import SwitchItem from '../switch-item.vue';
defineOptions({
name: 'PreferenceBreadcrumbConfig',
});
const footerEnable = defineModel<boolean>('footerEnable');
const footerFixed = defineModel<boolean>('footerFixed');
</script>
<template>
<SwitchItem v-model="footerEnable">
{{ $t('preferences.footer-visible') }}
</SwitchItem>
<SwitchItem v-model="footerFixed" :disabled="!footerEnable">
{{ $t('preferences.footer-fixed') }}
</SwitchItem>
</template>