From ba9e189dd33c8d48f7f4ac36bcefeef9afb426f8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 17 七月 2023 23:40:49 +0800 Subject: [PATCH] 2023-07-17 --- src/tabviews/custom/components/card/prop-card/index.jsx | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx index 837a22d..01d85b5 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -328,7 +328,7 @@ if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) { // 鍒锋柊婧愮粍浠舵椂锛岄檮甯﹀埛鏂颁笂绾ц涓庡綋鍓嶇粍浠� MKEmitter.emit('reloadData', config.setting.supModule, BID) } else { - this.loadData() + this.loadData(false, btn) } } @@ -384,7 +384,7 @@ this.loadData() } - async loadData (hastimer) { + async loadData (hastimer, btn) { const { mainSearch } = this.props const { config, arr_field, BID, BData, selected } = this.state @@ -397,6 +397,10 @@ this.setState({ data: {$$BID: BID || '', $$BData: BData, $$empty: true}, }) + + if (!btn) { + this.autoExec() + } return } else if (config.setting.supModule && !BID) { // BID 涓嶅瓨鍦ㄦ椂锛屼笉鍋氭煡璇� this.setState({ @@ -455,7 +459,9 @@ } else { this.transferLine() } - this.autoExec() + if (!btn) { + this.autoExec() + } } }) -- Gitblit v1.8.0