fix: 修复 total_amount 类型转换问题
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260713143040469.png
Normal file
BIN
assets/image_20260713143040469.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@@ -2228,7 +2228,7 @@
|
||||
const configName = item.config_name || '-';
|
||||
const splitValue = item.split_name || '-';
|
||||
const totalOrders = item.total_orders || 0;
|
||||
const totalAmount = item.total_amount ? item.total_amount.toFixed(2) : '0.00';
|
||||
const totalAmount = item.total_amount ? parseFloat(item.total_amount).toFixed(2) : '0.00';
|
||||
|
||||
return `
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user