fix: style optimization

This commit is contained in:
vince
2024-07-16 23:13:03 +08:00
parent c2c32332d3
commit 8b6d3a72e8
7 changed files with 38 additions and 21 deletions

View File

@@ -12,7 +12,7 @@ defineOptions({
name: 'LayoutTabbar',
});
defineProps<{ showIcon?: boolean }>();
defineProps<{ showIcon?: boolean; theme?: string }>();
const coreTabbarStore = useCoreTabbarStore();
@@ -40,6 +40,7 @@ if (!preferences.tabbar.persist) {
<template>
<TabsView
:active="currentActive"
:class="theme"
:context-menus="createContextMenus"
:dragable="preferences.tabbar.dragable"
:show-icon="showIcon"