From bc7beada13e605564d360c71650afe5541510d25 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 15 九月 2024 20:27:37 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/card/cardcellList/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx index f585b93..aaf053d 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -554,6 +554,9 @@ } if (card.format === 'percent') { val = val * 100 + if (!card.round) { + val = +val.toFixed(2) + } } else if (card.format === 'abs') { val = Math.abs(val) } -- Gitblit v1.8.0