fix(web): 隐藏订阅账号其他渠道入口

This commit is contained in:
tbphp committed 2026-08-19 10:14:58 +08:00
1 parent 48a62677dc
commit 16a401b1c3
1 file changed
+7 -5
@@ -313,9 +313,14 @@ function onSearchKeydown(event: KeyboardEvent): void {
<span>{{ channel.name }}</span>
</button>
<span class="channel-picker__divider" aria-hidden="true" />
<span
v-if="activeConnectionType === 'api_key'"
class="channel-picker__divider"
aria-hidden="true"
/>
<AppPopover
v-if="activeConnectionType === 'api_key'"
v-model:open="popoverOpen"
align="start"
content-class="channel-picker__panel"
@@ -324,10 +329,7 @@ function onSearchKeydown(event: KeyboardEvent): void {
<button
type="button"
class="channel-picker__chip channel-picker__chip--more"
:class="{
'channel-picker__chip--subscription': activeConnectionType === 'subscription',
'channel-picker__chip--selected': extraChannel !== null,
}"
:class="{ 'channel-picker__chip--selected': extraChannel !== null }"
:disabled="disabled"
:aria-expanded="popoverOpen"
:aria-pressed="extraChannel !== null"