fix: formatAmount 重复定义

This commit is contained in:
xingyu4j
2025-05-26 17:29:34 +08:00
parent ae7b549879
commit 281a2ebae0
7 changed files with 14 additions and 15 deletions

View File

@@ -263,7 +263,7 @@ setupVbenVxeTable({
});
// 添加数量格式化,例如金额
vxeUI.formats.add('formatAmount', {
vxeUI.formats.add('formatNumber', {
cellFormatMethod({ cellValue }, digits = 2) {
if (cellValue === null || cellValue === undefined) {
return '';