From c76e56d9cc6f8f5e93aaf355b269ec8cac8c6b95 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 15 二月 2020 02:18:10 +0800 Subject: [PATCH] 2020-02-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 169d396..0b907c4 100644 --- a/src/templates/formtabconfig/dragelement/card.jsx +++ b/src/templates/formtabconfig/dragelement/card.jsx @@ -133,7 +133,7 @@ } </div> <Icon className="edit" title="缂栬緫" type="edit" onClick={edit} /> - {type === 'action' && ['prompt', 'exec'].includes(card.OpenType) && card.intertype === 'inner' && !card.innerFunc ? + {type === 'action' && card.btnType === 'confirm' && card.intertype === 'inner' && !card.innerFunc ? <Icon className="edit profile" title="鏍¢獙瑙勫垯" type="profile" onClick={profile} /> : null } {card.btnType !== 'confirm' && card.btnType !== 'cancel' && <Icon className="edit close" title="鍒犻櫎" type="close" onClick={del} />} -- Gitblit v1.8.0