king
2024-02-26 e5641f8d70ce78589cf956215f3bfcc15e28252f
src/tabviews/custom/components/table/normal-table/index.jsx
@@ -400,6 +400,7 @@
      }
      this.loaded = true
      this.requestId = ''
      return
    }
@@ -427,8 +428,14 @@
    let _orderBy = orderBy || setting.order
    let param = UtilsDM.getQueryDataParams(setting, searches, _orderBy, pageIndex, pageSize, BID)
    if (param.func === 'sPC_Get_TableData') {
      this.requestId = param.timestamp
    }
    let result = await Api.genericInterface(param)
    if (result.status) {
      if (result.timestamp_back && this.requestId !== result.timestamp_back) return
      this.loaded = true
      if (config.$cache && type === 'init') {
        Api.writeCacheConfig(config.uuid, result.data || [], BID)