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/menu/components/card/cardcellcomponent/elementform/index.jsx | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/elementform/index.jsx b/src/menu/components/card/cardcellcomponent/elementform/index.jsx index 3b9f876..5181b6d 100644 --- a/src/menu/components/card/cardcellcomponent/elementform/index.jsx +++ b/src/menu/components/card/cardcellcomponent/elementform/index.jsx @@ -201,9 +201,17 @@ _options.push('value') } - if (this.record.eleType === 'text' && this.record.datatype === 'static' && this.record.noValue === 'hide') { - _options.push('noVField') + if (this.record.eleType === 'text' && this.record.noValue === 'hide') { + if (this.record.datatype === 'static') { + _options.push('noVField') + if (this.record.noVField) { + _options.push('noVExtra') + } + } else { + _options.push('noVExtra') + } } + if (this.record.eleType === 'picture' && this.record.noValue === 'show') { _options.push('lostTip') } else if (this.record.eleType === 'video' && this.record.posterType) { @@ -409,7 +417,7 @@ return item }) }) - } else if (['datatype', 'showInfo', 'showType', 'fixStyle', 'posterType', 'eval', 'linkType', 'tipType', 'noValue'].includes(key)) { + } else if (['datatype', 'showInfo', 'showType', 'fixStyle', 'posterType', 'eval', 'linkType', 'tipType', 'noValue', 'noVField'].includes(key)) { let _options = this.getOptions() this.setState({ -- Gitblit v1.8.0