refactor(TaskStatusTag): replace a-tag with span element and improve status configuration
- Replace a-tag component with semantic span element for better accessibility - Introduce centralized STATUS_CONFIG object for consistent status mapping - Add isRunning computed property for cleaner conditional logic - Remove redundant statusMap handling and normalize status values - Add proper CSS class bindings for styling consistency - Update component structure to use
This commit is contained in:
@@ -216,7 +216,7 @@ onMounted(async () => {
|
||||
<div class="stat-content">
|
||||
<div class="stat-label">剩余积分</div>
|
||||
<div class="stat-value">{{ formatCredits(userStore.remainingPoints) }}</div>
|
||||
<div class="stat-desc">用于AI生成消耗</div>
|
||||
<div class="stat-desc">用于生成消耗</div>
|
||||
</div>
|
||||
</a-card>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user