From 10f5efae1624c89d9a8f04ac331e07c895ea282a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 25 五月 2024 18:22:58 +0800 Subject: [PATCH] 2024-05-25 --- 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