From 5ec0f02101cb4255c6398856bbf17a2a0b2c9a7e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 14 十一月 2022 17:33:55 +0800 Subject: [PATCH] 2022-11-14 --- src/menu/components/share/normalform/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/normalform/index.jsx b/src/menu/components/share/normalform/index.jsx index c8244d9..56c3f9a 100644 --- a/src/menu/components/share/normalform/index.jsx +++ b/src/menu/components/share/normalform/index.jsx @@ -8,6 +8,7 @@ import './index.scss' const MKTable = asyncComponent(() => import('@/components/normalform/modalform/mkTable')) +const StyleInput = asyncComponent(() => import('@/components/normalform/modalform/styleInput')) class SettingForm extends Component { static propTpyes = { @@ -80,6 +81,8 @@ content = (<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit}/>) } else if (item.type === 'number') { content = (<InputNumber min={item.min} max={item.max} precision={item.decimal} onPressEnter={this.handleSubmit}/>) + } else if (item.type === 'styleInput') { + content = (<StyleInput config={item}/>) } else if (item.type === 'select') { content = (<Select mode={item.multi ? 'multiple' : ''}> {item.options.map((option, index) => -- Gitblit v1.8.0