From bd9dfa6b6ff25dbab21ba9a249fc9d9f4d03dce2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 20 二月 2024 14:08:39 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/topSearch/advanceform/index.jsx | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/topSearch/advanceform/index.jsx b/src/tabviews/zshare/topSearch/advanceform/index.jsx index cb8a239..d35bba4 100644 --- a/src/tabviews/zshare/topSearch/advanceform/index.jsx +++ b/src/tabviews/zshare/topSearch/advanceform/index.jsx @@ -12,6 +12,7 @@ const MKSwitch = asyncComponent(() => import('@/tabviews/zshare/mutilform/mkSwitch')) const MKRadio = asyncComponent(() => import('../mkRadio')) const MKDatePicker = asyncComponent(() => import('../mkDatePicker')) +const MKNumber = asyncComponent(() => import('../mkNumber')) class AdvanceSearch extends Component { static propTpyes = { @@ -57,6 +58,8 @@ content = <MKCheck config={item}/> } else if (item.type === 'switch') { content = <MKSwitch config={item}/> + } else if (item.type === 'range') { + content = <MKNumber config={item} onInputSubmit={this.handleSubmit} /> } if (content) { @@ -86,7 +89,9 @@ this.props.form.validateFields((err, values) => { if (err) return - this.props.advanceSubmit(values) + setTimeout(() => { + this.props.advanceSubmit(values) + }, 10) }) } -- Gitblit v1.8.0