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

@@ -277,7 +277,7 @@ setupVbenVxeTable({
// 这里可以自行扩展 vxe-table 的全局配置,比如自定义格式化
// vxeUI.formats.add
// add by 星语:数量格式化,例如说:金额
vxeUI.formats.add('formatAmount', {
vxeUI.formats.add('formatNumber', {
cellFormatMethod({ cellValue }, digits = 2) {
if (cellValue === null || cellValue === undefined) {
return '';