From 740c0829f765390ea867644de15744d0c3c25eb3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 31 十二月 2024 22:22:57 +0800 Subject: [PATCH] 2024-12-31 --- src/tabviews/custom/components/card/prop-card/index.jsx | 12 +++++++----- 1 files changed, 7 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 a1e1a11..001d66e 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -399,7 +399,9 @@ this.autoTimer && clearTimeout(this.autoTimer) - if (btn) { + if (config.setting.supModule && config.wrap.datatype === 'static' && !data.$$BID) { + + } else if (btn) { MKEmitter.emit('triggerBtnId', config.wrap.autoExec, data.$$empty ? [] : [data]) } else if (!times || times < 20) { times = times ? times + 1 : 1 @@ -526,11 +528,11 @@ this.setState({ data: _data, + }, () => { + if (!btn) { + this.autoExec() + } }) - - if (!btn) { - this.autoExec() - } return } else if (config.setting.supModule && !BID) { // BID 涓嶅瓨鍦ㄦ椂锛屼笉鍋氭煡璇� this.setState({ -- Gitblit v1.8.0