配置 使 字段说明 红色加粗

This commit is contained in:
wyw 2024-07-09 10:22:56 +08:00
parent 7f8becda2f
commit 3a48f8fdad
2 changed files with 4 additions and 2 deletions

View File

@ -748,7 +748,9 @@ params【字段属性】=值
<Form.Item
label={
<span>
<span>{label}</span>
{
(col.code&&col.code === 'warm') ? (<span style={{ color: 'red',fontWeight:'bold',fontSize: 'large' }} >{label}</span>):(<span >{label}</span>)
}
{
remark
? (

View File

@ -1788,7 +1788,7 @@ class EditComponent extends EditBaseComponent {
const tempCols = [];
if (columns && columns.length) {
columns.forEach(t => {
if (code && t.code === code || !code & !t.code) {
if ((code && t.code === code || !code & !t.code) || (t.code && t.code === 'warm')) {
tempCols.push(t);
}
if (isTree) t.span = { sm: 24, md: 12 }