number wan split

This commit is contained in:
Timi
2026-09-19 16:46:00 +08:00
parent 6c488a4731
commit 79d9efad73
12 changed files with 35 additions and 19 deletions
+2 -1
View File
@@ -52,6 +52,7 @@ import PointAPI from "@/api/PointAPI";
import { useNavBarStore } from "@/store/navBarStore";
import type { EventItem } from "@/types/EventItem";
import type { PointRule } from "@/types/Point";
import { formatWanInteger } from "@/utils/money";
import { permissionCodes } from "@/utils/permission";
defineOptions({ name: "PointRuleSort" });
@@ -72,7 +73,7 @@ function getPointText(rule: PointRule): string {
if (rule.pointValue === undefined || rule.pointValue === null) {
return "未配置";
}
return (0 < rule.pointValue ? "+" : "") + rule.pointValue;
return (0 < rule.pointValue ? "+" : "") + formatWanInteger(rule.pointValue);
}
async function loadData(): Promise<void> {