king
2024-02-19 1e4a7720c748bc0206b02b30f4a2e0b3dafb54f3
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)
    })
  }