Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
1a7f4951
Unverified
Commit
1a7f4951
authored
Mar 10, 2026
by
Wesley Liddick
Committed by
GitHub
Mar 10, 2026
Browse files
Merge pull request #896 from touwaeriol/pr/fix-quota-badge-vertical-layout
fix(frontend): stack quota badges vertically in capacity column
parents
885a2ce7
acefa1da
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/components/account/AccountCapacityCell.vue
View file @
1a7f4951
...
@@ -73,12 +73,10 @@
...
@@ -73,12 +73,10 @@
</div>
</div>
<!-- API Key 账号配额限制 -->
<!-- API Key 账号配额限制 -->
<div
v-if=
"showDailyQuota || showWeeklyQuota || showTotalQuota"
class=
"flex items-center gap-1"
>
<QuotaBadge
v-if=
"showDailyQuota"
:used=
"account.quota_daily_used ?? 0"
:limit=
"account.quota_daily_limit!"
label=
"D"
/>
<QuotaBadge
v-if=
"showDailyQuota"
:used=
"account.quota_daily_used ?? 0"
:limit=
"account.quota_daily_limit!"
label=
"D"
/>
<QuotaBadge
v-if=
"showWeeklyQuota"
:used=
"account.quota_weekly_used ?? 0"
:limit=
"account.quota_weekly_limit!"
label=
"W"
/>
<QuotaBadge
v-if=
"showWeeklyQuota"
:used=
"account.quota_weekly_used ?? 0"
:limit=
"account.quota_weekly_limit!"
label=
"W"
/>
<QuotaBadge
v-if=
"showTotalQuota"
:used=
"account.quota_used ?? 0"
:limit=
"account.quota_limit!"
/>
<QuotaBadge
v-if=
"showTotalQuota"
:used=
"account.quota_used ?? 0"
:limit=
"account.quota_limit!"
/>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment