number wan split
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user