king
2024-02-20 c0e017668d780c40f85230f227ea0160b5d22d4d
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
        
      setTimeout(() => {
      this.props.advanceSubmit(values)
      }, 10)
    })
  }