king
2024-07-30 31df729bbc664b826536a344e2bf7dd81854c477
src/tabviews/custom/components/table/base-table/index.jsx
@@ -439,7 +439,19 @@
   * 含有初始不加载的页面,修改设置
   */
  refreshbysearch = (searches) => {
    const { config} = this.state
    const { config, BID } = this.state
    if (config.setting.supModule && !BID) {
      notification.warning({
        top: 92,
        message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!',
        duration: 5
      })
      this.setState({
        search: searches
      })
      return
    }
    this.setState({
      pageIndex: 1,
@@ -568,7 +580,7 @@
    if (config.uuid !== menuId) return
    if (position === 'line' || position === 'line_grid') {
      if (lines && lines.length === 1) {
      if (lines && lines.length === 1 && !config.forbidLine) {
        this.loadLinedata(lines[0].$$uuid, position)
      } else {
        this.reloadtable(btn, id)
@@ -585,9 +597,7 @@
    if (config.$searchId !== searchId) return
    
    this.setState({pageIndex: 1}, () => {
      this.reloadtable()
    })
    this.reloadtable()
  }
  autoExec = (times) => {