From 54f2a3e1e54a6d8289ccb8d5de158f23150d7a5e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 04 三月 2020 16:11:03 +0800 Subject: [PATCH] 2020-03-04 --- src/templates/formtabconfig/index.jsx | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx index 0f47aef..0005835 100644 --- a/src/templates/formtabconfig/index.jsx +++ b/src/templates/formtabconfig/index.jsx @@ -375,6 +375,10 @@ const { config } = this.state let _inputfields = [] let _linkableFields = [] + let _linksupFields = [{ + value: '', + text: '绌�' + }] let _formfields = [] // 璁剧疆涓嬫媺鑿滃崟鍙叧鑱斿瓧娈� @@ -392,6 +396,8 @@ } let uniq = new Map() + uniq.set(card.field, true) + _formfields.forEach(item => { if (item.field && !uniq.has(item.field)) { uniq.set(item.field, true) @@ -399,6 +405,10 @@ _linkableFields.push({ value: item.field, text: item.label + ' (琛ㄥ崟)' + }) + _linksupFields.push({ + value: item.field, + text: item.label }) } }) @@ -419,7 +429,7 @@ this.setState({ modaltype: 'search', card: card, - formlist: getModalForm(card, _inputfields, _linkableFields) + formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields) }) } -- Gitblit v1.8.0