From 53b68578c161561700bd77759629daa1608e05ca Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 23 八月 2023 23:43:05 +0800
Subject: [PATCH] 2023-08-23

---
 src/tabviews/custom/components/card/double-data-card/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/custom/components/card/double-data-card/index.jsx b/src/tabviews/custom/components/card/double-data-card/index.jsx
index 9dea605..8d1d2d2 100644
--- a/src/tabviews/custom/components/card/double-data-card/index.jsx
+++ b/src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -243,7 +243,7 @@
   }
 
   initExec = () => {
-    const { config } = this.state
+    const { config, BID } = this.state
 
     if (config.$cache) {
       let getData = (res) => {
@@ -286,7 +286,7 @@
       }
       
       if (config.$time && !config.setting.laypage) {
-        Api.getLCacheConfig(config.uuid, config.$time).then(res => {
+        Api.getLCacheConfig(config.uuid, config.$time, BID).then(res => {
           if (!res.valid) {
             setTimeout(() => {
               this.loadData('', 'init')
@@ -298,7 +298,7 @@
           this.setState({data: getData(res.data)})
         })
       } else {
-        Api.getLCacheConfig(config.uuid, 0).then(res => {
+        Api.getLCacheConfig(config.uuid, 0, BID).then(res => {
           if (!res.data || this.loaded) return
   
           this.setState({data: getData(res.data)})
@@ -608,7 +608,7 @@
 
       this.loaded = true
       if (config.$cache && type === 'init') {
-        Api.writeCacheConfig(config.uuid, result.data || [])
+        Api.writeCacheConfig(config.uuid, result.data || [], BID)
       }
 
       if (selected !== 'false' || (id && config.wrap.selected !== 'false')) {

--
Gitblit v1.8.0