验证预警百分比

This commit is contained in:
wangsongsole 2022-07-13 05:52:55 +08:00
parent 85fee8080a
commit 53cfdd2905
1 changed files with 1 additions and 1 deletions

View File

@ -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
}