fix point consume type

This commit is contained in:
Timi
2026-08-21 15:50:11 +08:00
parent 413f12619b
commit 5f7247b8a6
3 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -206,7 +206,8 @@ async function loadPageData(): Promise<void> {
function getChangeTypeText(changeType?: PointLedger["changeType"]): string {
return ({
EARN: "积分变化",
EARN: "发放积分",
CONSUME: "消费积分",
REVOKE: "撤销积分",
ADJUST: "人工调整"
} as Record<string, string>)[changeType || ""] || "未知流水";