| | |
| | | import { VbenFullScreen, VbenIconButton } from '../../../../../@core/ui-kit/shadcn-ui/src'; |
| | | |
| | | import { |
| | | DatabaseBackupButton, |
| | | GlobalSearch, |
| | | LanguageToggle, |
| | | PreferencesButton, |
| | |
| | | } |
| | | // 偏好设置快捷功能 |
| | | if (preferencesButtonPosition.value.header) { |
| | | // 数据库备份按钮 |
| | | list.push({ |
| | | index: REFERENCE_VALUE + 5, |
| | | name: 'database-backup', |
| | | }); |
| | | |
| | | list.push({ |
| | | index: REFERENCE_VALUE + 10, |
| | | name: 'preferences', |
| | |
| | | /> |
| | | </template> |
| | | |
| | | <template v-else-if="slot.name === 'database-backup'"> |
| | | <DatabaseBackupButton class="mr-1" /> |
| | | </template> |
| | | <template v-else-if="slot.name === 'preferences'"> |
| | | <PreferencesButton |
| | | class="mr-1" |