From 0c1c59933e95c4c691d6ba3d11bf4aef98fe9e8d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 15 四月 2020 15:37:44 +0800 Subject: [PATCH] 2020-04-15 --- src/templates/formtabconfig/dragelement/card.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/templates/formtabconfig/dragelement/card.jsx b/src/templates/formtabconfig/dragelement/card.jsx index 00f0036..abc46da 100644 --- a/src/templates/formtabconfig/dragelement/card.jsx +++ b/src/templates/formtabconfig/dragelement/card.jsx @@ -143,7 +143,7 @@ } </div> {type === 'action' ? <Icon className="edit" title="缂栬緫" type="edit" onClick={edit} /> : null} - {type === 'action' && card.btnType === 'confirm' && card.intertype === 'inner' && !card.innerFunc ? + {type === 'action' && card.btnType !== 'cancel' ? <Icon className="edit profile" title="鏍¢獙瑙勫垯" type="profile" onClick={profile} /> : null } {type === 'action' && card.btnType !== 'confirm' && card.btnType !== 'cancel' && <Icon className="edit close" title="鍒犻櫎" type="close" onClick={del} />} -- Gitblit v1.8.0