Merge pull request #573 from wucm667/fix/stat-card-value-overflow

修复:StatCard 数值溢出问题
This commit is contained in:
Wesley Liddick
2026-02-13 20:29:12 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<div class="min-w-0 flex-1">
<p class="stat-label truncate">{{ title }}</p>
<div class="mt-1 flex items-baseline gap-2">
<p class="stat-value">{{ formattedValue }}</p>
<p class="stat-value" :title="String(formattedValue)">{{ formattedValue }}</p>
<span v-if="change !== undefined" :class="['stat-trend', trendClass]">
<Icon
v-if="changeType !== 'neutral'"