From 53cfdd29051b724059df2012614dd73bf41e77ea Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 13 Jul 2022 05:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E9=A2=84=E8=AD=A6=E7=99=BE?= =?UTF-8?q?=E5=88=86=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 6cd55b88..389795fd 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -420,7 +420,7 @@ export default class addKnockGold extends Component { return false } - if (this.state.model.early_per.length < 1) { + if (this.state.model.early_per.filter((item) => item).length < 1) { Notify.error('请选预警百分比') return false }