style(frontend): 格式化前端代码并修复 eslint 异步操作未标记告警

- 统一 prettier 代码风格;
- 为 AdminTaskDetailPage 与 AdminTasksPage 中未捕获的 Promise 添加 void 标记;
- 验证方式:npm --prefix apps/frontend run check 全流程通过。
This commit is contained in:
yml2213
2026-10-11 15:20:54 +08:00
parent 6012add3c9
commit 9ce29964c7
12 changed files with 41 additions and 38 deletions
+4 -5
View File
@@ -183,10 +183,10 @@ export function formatTaskEventPayload(payload: Record<string, unknown>) {
return JSON.stringify(payload || {})
}
export function resolveOrderPlatformBadge(row: {
platform?: string
provider?: string
}): { label: string; color: string } {
export function resolveOrderPlatformBadge(row: { platform?: string; provider?: string }): {
label: string
color: string
} {
const provider = String(row.provider || '').toLowerCase()
const platform = String(row.platform || '').toLowerCase()
@@ -251,4 +251,3 @@ export function resolveOrderFulfillmentMode(row: {
return { label: '手动交付', color: 'default' }
}