From d4d2b680baff18f950da5e77463c1f0e26dbd567 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 四月 2025 10:10:25 +0800
Subject: [PATCH] 2025-04-03

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

diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx
index 0035cff..5008784 100644
--- a/src/tabviews/custom/components/card/prop-card/index.jsx
+++ b/src/tabviews/custom/components/card/prop-card/index.jsx
@@ -404,7 +404,13 @@
     if (config.setting.supModule && config.wrap.datatype === 'static' && !data.$$BID) {
 
     } else if (btn) {
-      MKEmitter.emit('triggerBtnId', config.wrap.autoExec, data.$$empty ? [] : [data])
+      if (config.wrap.execDelay) {
+        setTimeout(() => {
+          MKEmitter.emit('triggerBtnId', config.wrap.autoExec, data.$$empty ? [] : [data])
+        }, config.wrap.execDelay)
+      } else {
+        MKEmitter.emit('triggerBtnId', config.wrap.autoExec, data.$$empty ? [] : [data])
+      }
     } else if (!times || times < 20) {
       times = times ? times + 1 : 1
       this.autoTimer = setTimeout(() => {

--
Gitblit v1.8.0