配置 使 字段说明 红色加粗
This commit is contained in:
parent
7f8becda2f
commit
3a48f8fdad
@ -748,7 +748,9 @@ params【字段属性】=值
|
|||||||
<Form.Item
|
<Form.Item
|
||||||
label={
|
label={
|
||||||
<span>
|
<span>
|
||||||
<span>{label}</span>
|
{
|
||||||
|
(col.code&&col.code === 'warm') ? (<span style={{ color: 'red',fontWeight:'bold',fontSize: 'large' }} >{label}</span>):(<span >{label}</span>)
|
||||||
|
}
|
||||||
{
|
{
|
||||||
remark
|
remark
|
||||||
? (
|
? (
|
||||||
|
|||||||
@ -1788,7 +1788,7 @@ class EditComponent extends EditBaseComponent {
|
|||||||
const tempCols = [];
|
const tempCols = [];
|
||||||
if (columns && columns.length) {
|
if (columns && columns.length) {
|
||||||
columns.forEach(t => {
|
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);
|
tempCols.push(t);
|
||||||
}
|
}
|
||||||
if (isTree) t.span = { sm: 24, md: 12 }
|
if (isTree) t.span = { sm: 24, md: 12 }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user