From 7ae8fae255456f723b1993044265592c11ef7a36 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 28 七月 2022 19:27:08 +0800 Subject: [PATCH] 2022-07-28 --- src/components/normalform/modalform/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/components/normalform/modalform/index.jsx b/src/components/normalform/modalform/index.jsx index 5915aaf..8bc59c5 100644 --- a/src/components/normalform/modalform/index.jsx +++ b/src/components/normalform/modalform/index.jsx @@ -264,6 +264,13 @@ content = (<SourceComponent type="" placement="right"/>) } else if (item.type === 'table') { content = (<MKTable tip={item.tip || ''} columns={item.columns || []} actions={item.actions || []}/>) + } else if (item.type === 'hint') { + fields.push( + <Col span={24} key={index}> + <div style={{color: '#1890ff', borderBottom: '1px solid #e9e9e9', marginBottom: '15px', paddingLeft: '10px'}}>{item.label}</div> + </Col> + ) + return } if (!content) return -- Gitblit v1.8.0