From 04481f7a629167d5399c008c1f3edbf46850ebd8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 三月 2025 14:15:56 +0800 Subject: [PATCH] Merge branch 'positec' into dms --- 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 18a0a34..966bf1b 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -373,11 +373,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