From b26252d4e842e2561b5295b0d07ae98a4eaa3fe6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 三月 2023 14:17:57 +0800 Subject: [PATCH] 2023-03-16 --- src/tabviews/custom/components/card/cardcellList/index.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx index 5171fb0..12491ba 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -409,7 +409,8 @@ return null } - if (typeof(val) === 'number') { + if (!isNaN(val) && val !== '') { + val = +val if (card.round) { val = Math.round(val * card.round) / card.round } -- Gitblit v1.8.0