From a02fc6a77fa1b35c6516b2d37108d80e260c6c85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 十一月 2024 22:05:08 +0800 Subject: [PATCH] 2024-11-07 --- src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx index 31a0452..5801b94 100644 --- a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx +++ b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx @@ -27,7 +27,7 @@ editable: true, unique: true, required: false, - width: '25%' + width: '20%' }, { title: '棰滆壊', @@ -35,7 +35,7 @@ inputType: 'color', editable: true, required: true, - width: '25%', + width: '20%', render: (text, record) => <span style={{display: 'inline-block', width: '40px', height: '25px', background: text}}></span> }, { @@ -44,8 +44,8 @@ inputType: 'icon', editable: true, required: false, - width: '25%', - render: (text, record) => record.icon ? <MkIcon type={record.icon}/> : '' + width: '20%', + render: (text, record) => record.icon ? <MkIcon style={{fontSize: '24px'}} type={record.icon}/> : '' }, { title: '杩炴帴绾�', @@ -54,9 +54,18 @@ editable: true, required: false, allowClear: true, - width: '25%', + width: '20%', render: (text, record) => text ? <span style={{display: 'inline-block', width: '40px', height: '25px', background: text}}></span> : null }, + { + title: '澶囨敞', + dataIndex: 'remark', + inputType: 'input', + editable: true, + unique: false, + required: false, + width: '20%' + } ] } -- Gitblit v1.8.0