king
2023-11-21 41accaed7b2260f9033701f048b5b65b01a6369d
src/tabviews/zshare/topSearch/index.jsx
@@ -426,6 +426,7 @@
  }
  resetSearch = (result) => {
    let trigger = false
    let _searchlist = fromJS(this.state.searchlist).toJS().map(item => {
      if (['select', 'link', 'multiselect', 'checkcard', 'radio'].includes(item.type) && result[item.field] && result[item.field].length > 0) {
        let options = []
@@ -491,12 +492,23 @@
        item.options = item.oriOptions
      }
      if (item.$first && item.options.length > 0) {
        item.initval = item.options[0].Value
        trigger = true
      }
      return item
    })
    this.setState({
      searchlist: _searchlist
    })
    if (trigger) {
      setTimeout(() => {
        this.handleSubmit()
      }, 10)
    }
  }
  recordChange = (val, defer, item) => {