From 88f178df654b08411470a7eab75b3d5fed8817c0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 十一月 2023 01:37:45 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/form/step-form/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/form/step-form/index.jsx b/src/tabviews/custom/components/form/step-form/index.jsx index cd83384..0ef5907 100644 --- a/src/tabviews/custom/components/form/step-form/index.jsx +++ b/src/tabviews/custom/components/form/step-form/index.jsx @@ -218,6 +218,12 @@ if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) { MKEmitter.emit('reloadData', config.setting.supModule, BID) + } else if (position === 'grid' && config.wrap.datatype === 'static') { + this.setState({ + data: null + }, () => { + this.setState({data: {$$empty: true}}) + }) } else { this.loadData() } @@ -268,7 +274,7 @@ if (btn.linkmenu && btn.linkmenu.length > 0) { let menu_id = btn.linkmenu[btn.linkmenu.length - 1] - let menu = window.GLOB.mkThdMenus.filter(m => m.MenuID === menu_id)[0] || '' + let menu = window.GLOB.mkThdMenus.get(menu_id) || '' if (!menu) return -- Gitblit v1.8.0