From 9c7c1522e7e499c092370cf1c3b4cdf739d4d33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 9 Jan 2020 19:15:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/busyWork/NewWorkForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/NewWorkForm.js b/public/react/src/modules/courses/busyWork/NewWorkForm.js index 8016eac2d..edd83c9e1 100644 --- a/public/react/src/modules/courses/busyWork/NewWorkForm.js +++ b/public/react/src/modules/courses/busyWork/NewWorkForm.js @@ -145,8 +145,8 @@ class NewWorkForm extends Component{ this.props.showNotification('最大人数不能为空'); this.props.scrollToAnchor("numberofgroups"); return; - } else if (max_num <= min_num) { - this.props.showNotification('最大人数不能小于等于最小人数'); + } else if (max_num < min_num) { + this.props.showNotification('最大人数不能小于最小人数'); this.props.scrollToAnchor("numberofgroups"); return; }