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:
2026-02-26 20:45:51 +08:00
parent 72fa2c63a1
commit 1e5a1d422b
6 changed files with 386 additions and 1223 deletions

View File

@@ -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>