From d8561eb770249f6fe00aeb3092555188ab6d076c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 16 八月 2023 17:39:49 +0800
Subject: [PATCH] 2023-08-16

---
 src/tabviews/custom/components/card/prop-card/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx
index 2dcd2c2..ed061cf 100644
--- a/src/tabviews/custom/components/card/prop-card/index.jsx
+++ b/src/tabviews/custom/components/card/prop-card/index.jsx
@@ -278,11 +278,11 @@
 
       if (config.$cache && config.$time && config.wrap.autoExec) {
         Api.getLCacheConfig(config.uuid, config.$time).then(res => {
-          if (!res.valid) {
-            this.autoExec()
-          } else {
-            Api.writeCacheConfig(config.uuid, [])
-          }
+          if (res.valid) return
+          
+          this.autoExec()
+          
+          Api.writeCacheConfig(config.uuid, [])
         })
       } else {
         this.autoExec()

--
Gitblit v1.8.0