feat: 加入设置页里缺失的设置项,密码表单允许修改可见性 (#387)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-07-11 01:53:03 +08:00
committed by GitHub
parent dd23d1db58
commit 267e9373f9
5 changed files with 189 additions and 36 deletions
+1 -2
View File
@@ -216,9 +216,8 @@
<Tabs.Root bind:value={activeTab} class="w-full">
<Tabs.List class="grid w-full grid-cols-4">
{#each Object.entries(TAB_CONFIG) as [key, config] (key)}
{@const sources = getSourcesForTab(key)}
<Tabs.Trigger value={key} class="relative">
{config.label}{sources.length}
{config.label}
</Tabs.Trigger>
{/each}
</Tabs.List>