src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -288,7 +288,7 @@ Api.getLCacheConfig(config.uuid, config.$time).then(res => { if (!res.valid) { setTimeout(() => { this.loadData() this.loadData('', 'init') }, config.setting.delay || 0) } @@ -304,7 +304,7 @@ }) setTimeout(() => { this.loadData() this.loadData('', 'init') }, config.setting.delay || 0) } } else { @@ -608,7 +608,7 @@ } this.loaded = true if (config.$cache && pageIndex === 1 && config.setting.onload !== 'false') { if (config.$cache && type === 'init') { Api.writeCacheConfig(config.uuid, result.data || []) }