king
2022-11-25 567cea64c520654876e8c1a7f4ca2baf2c1c773f
src/tabviews/zshare/topSearch/index.jsx
@@ -173,6 +173,10 @@
        if (item.resourceType === '1' && item.dataSource) {
          let _option = Utils.getSelectQueryOptions(item)
          if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) {
            console.info(_option.sql)
          }
          // 测试系统单个请求
          if (!window.GLOB.mkHS && options.sysType === 'local' && !window.GLOB.systemType) {
            deForms.push({
@@ -230,7 +234,7 @@
    }, () => {
      if (!window.GLOB.mkHS && options.sysType === 'local' && window.GLOB.systemType !== 'production') {
        this.improveSimpleSearch(deForms)
      } else {
      } else if (mainItems.length > 0 || localItems.length > 0) {
        this.improveSearch(mainItems, localItems)
      }
    })
@@ -240,11 +244,6 @@
  improveSearch = (mainItems, localItems) => {
    const { BID } = this.props
    let deffers = []
    if (!window.GLOB.mkHS && options.sysType !== 'local') {
      localItems = [...localItems, ...mainItems]
      mainItems = []
    }
    // 本地请求
    let param = {