From 5756a8f94dde7fecd23e147cdb8e96cb8a70a4e4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 三月 2025 14:14:26 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/card/cardcellList/index.jsx | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx index e7537d1..c37be32 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -374,11 +374,18 @@ } } - if (card.noVField && !data[card.noVField]) { - val = '' + if (card.noVField) { + if (!data[card.noVField]) { + val = '' + } else if (card.noVExtra && new RegExp('^(' + card.noVExtra.split(',').join('|') + ')$', 'ig').test(data[card.noVField])) { + val = '' + } } } else if (data.hasOwnProperty(card.field)) { val = data[card.field] + '' + if (card.noVExtra && val && new RegExp('^(' + card.noVExtra.split(',').join('|') + ')$', 'ig').test(val)) { + val = '' + } } if (val && card.format && card.format !== 'encryption') { -- Gitblit v1.8.0