From 870b6e10f9428e769530b94df3034e567a516429 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 六月 2022 00:53:58 +0800 Subject: [PATCH] 2022-06-21 --- src/templates/modalconfig/dragelement/card.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/templates/modalconfig/dragelement/card.jsx b/src/templates/modalconfig/dragelement/card.jsx index 9545c7c..7871391 100644 --- a/src/templates/modalconfig/dragelement/card.jsx +++ b/src/templates/modalconfig/dragelement/card.jsx @@ -131,6 +131,8 @@ </Checkbox.Group>) } else if (card.type === 'hint') { formItem = <div style={{marginTop: '10px', color: 'rgba(0, 0, 0, 0.85)', lineHeight: '1.5', ...card.style}}>{card.message}</div> + } else if (card.type === 'formula') { + formItem = <div style={{marginTop: '8px', color: 'rgba(0, 0, 0, 0.85)', lineHeight: '1.5', ...card.style}}>{card.formula}{card.postfix || ''}</div> } else if (card.type === 'split') { formItem = <div className="split-line" style={card.style}>{card.label}</div> } else if (card.type === 'checkcard') { -- Gitblit v1.8.0