From 5ff23c882da8bd2dca0848ae1a97d23f6bfecd9d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 27 六月 2021 23:10:07 +0800 Subject: [PATCH] 2021-06-27 --- src/tabviews/custom/components/carousel/data-card/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/carousel/data-card/index.jsx b/src/tabviews/custom/components/carousel/data-card/index.jsx index ce847cf..e4c768a 100644 --- a/src/tabviews/custom/components/carousel/data-card/index.jsx +++ b/src/tabviews/custom/components/carousel/data-card/index.jsx @@ -201,6 +201,10 @@ } let searches = config.setting.useMSearch && mainSearch ? fromJS(mainSearch).toJS() : [] + let requireFields = searches.filter(item => item.required && item.value === '') + if (requireFields.length > 0) { + return + } this.setState({ loading: true -- Gitblit v1.8.0