From df2a8398142b7a5176552e254422300b5a014ece Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 18 十月 2024 15:01:41 +0800 Subject: [PATCH] 2024-10-18 --- src/tabviews/custom/components/calendar/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/calendar/index.jsx b/src/tabviews/custom/components/calendar/index.jsx index c8ea014..4c62b47 100644 --- a/src/tabviews/custom/components/calendar/index.jsx +++ b/src/tabviews/custom/components/calendar/index.jsx @@ -45,6 +45,8 @@ BData = window.GLOB.CacheData.get(_config.$pageId) } + let BID = BData ? (BData.$BID || '') : '' + if (_config.setting.interType === 'system') { if (/@mk_year@/ig.test(_config.setting.dataresource) || /@mk_year@/ig.test(_config.setting.customScript)) { _config.setting.$re_year = true @@ -63,8 +65,12 @@ _config.action = [] } + if (_config.setting.supModule && !BID) { + _config.setting.onload = 'false' + } + this.setState({ - BID: BData ? (BData.$BID || '') : '', + BID: BID, BData: BData, config: _config, search: _config.$searches -- Gitblit v1.8.0