From ee635de6fc758c044db0761faa003d0db1e82563 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 07 八月 2023 20:32:35 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/topSearch/advanceform/index.jsx | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/topSearch/advanceform/index.jsx b/src/tabviews/zshare/topSearch/advanceform/index.jsx index b8b3023..cb8a239 100644 --- a/src/tabviews/zshare/topSearch/advanceform/index.jsx +++ b/src/tabviews/zshare/topSearch/advanceform/index.jsx @@ -8,6 +8,9 @@ const MKCheckCard = asyncComponent(() => import('@/tabviews/zshare/mutilform/mkCheckCard')) const MKSelect = asyncComponent(() => import('../mkSelect')) +const MKCheck = asyncComponent(() => import('@/tabviews/zshare/mutilform/mkCheck')) +const MKSwitch = asyncComponent(() => import('@/tabviews/zshare/mutilform/mkSwitch')) +const MKRadio = asyncComponent(() => import('../mkRadio')) const MKDatePicker = asyncComponent(() => import('../mkDatePicker')) class AdvanceSearch extends Component { @@ -48,6 +51,12 @@ content = (<MKDatePicker config={item}/>) } else if (item.type === 'checkcard') { content = <MKCheckCard config={item}/> + } else if (item.type === 'radio') { + content = <MKRadio config={item} onChange={(val) => this.recordChange(val, false, item)} /> + } else if (item.type === 'check') { + content = <MKCheck config={item}/> + } else if (item.type === 'switch') { + content = <MKSwitch config={item}/> } if (content) { -- Gitblit v1.8.0