From fbb86e82858efde1a0402df31f1d11dc5a2f66d4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 25 九月 2021 19:45:10 +0800 Subject: [PATCH] 2021-09-25 --- src/menu/components/form/tab-form/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/components/form/tab-form/index.jsx b/src/menu/components/form/tab-form/index.jsx index 5397c8c..f1fc543 100644 --- a/src/menu/components/form/tab-form/index.jsx +++ b/src/menu/components/form/tab-form/index.jsx @@ -419,7 +419,7 @@ }] let standardform = null - _inputfields = group.fields.filter(item => item.type === 'text' || item.type === 'number' || item.type === 'textarea' || item.type === 'color') + _inputfields = group.fields.filter(item => ['text', 'number', 'textarea', 'color'].includes(item.type) && _item.field !== item.field) if (appType === 'mob') { _tabfields = group.fields.filter(item => _form.field !== item.field && item.hidden !== 'true' && ['text', 'number'].includes(item.type)) } else { @@ -642,7 +642,7 @@ <NormalForm title="琛ㄥ崟璁剧疆" width={800} update={this.updateWrap} getForms={this.getWrapForms}> <Icon type="edit" style={{color: '#1890ff'}} title="缂栬緫"/> </NormalForm> - <CopyComponent type="propcard" card={card}/> + <CopyComponent type="tabform" card={card}/> <PasteComponent config={card} options={['form']} updateConfig={this.pasteForm} /> <Icon className="style" title="璋冩暣鏍峰紡" onClick={this.changeStyle} type="font-colors" /> <UserComponent config={card}/> -- Gitblit v1.8.0