memberNumMax

dev_forum
hjm 6 years ago
parent 170990f953
commit 786cdff86c

@ -173,7 +173,7 @@ class CommonWorkPost extends Component{
} }
if(isGroup){ if(isGroup){
if(userids!=undefined){ if(userids!=undefined){
if(userids.length<memberNumMin){ if(userids.length + 1<memberNumMin){
this.setState({ this.setState({
minvalue: memberNumMin, minvalue: memberNumMin,
setvalue:"小于", setvalue:"小于",
@ -181,7 +181,7 @@ class CommonWorkPost extends Component{
}) })
return return
}else if(userids.length>memberNumMax){ }else if(userids.length + 1>memberNumMax){
this.setState({ this.setState({
minvalue: memberNumMax, minvalue: memberNumMax,
setvalue:"大于", setvalue:"大于",

Loading…
Cancel
Save