From e5641f8d70ce78589cf956215f3bfcc15e28252f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 26 二月 2024 20:53:12 +0800
Subject: [PATCH] 2024-02-26

---
 src/tabviews/custom/components/table/normal-table/index.jsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx
index 676488a..498c717 100644
--- a/src/tabviews/custom/components/table/normal-table/index.jsx
+++ b/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)

--
Gitblit v1.8.0