From 110b028e0cb54d9f50d57d1e1efd9d9bf9a8388e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 22 十月 2023 16:05:21 +0800 Subject: [PATCH] 2023-10-22 --- src/tabviews/custom/components/form/simple-form/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/form/simple-form/index.jsx b/src/tabviews/custom/components/form/simple-form/index.jsx index 5b3c32c..4491894 100644 --- a/src/tabviews/custom/components/form/simple-form/index.jsx +++ b/src/tabviews/custom/components/form/simple-form/index.jsx @@ -169,6 +169,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() } -- Gitblit v1.8.0