liting2017 7 年 前
コミット
dcd1aa0371
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3 3
      js/component/manageCenter/set/userManagementS/newRole.jsx

+ 3 - 3
js/component/manageCenter/set/userManagementS/newRole.jsx

@@ -55,9 +55,9 @@ const Newrole = Form.create()(React.createClass({
 				this.setState({
 					loading: true
 				});
-				if(selectAllId.checked){
-					if(selectAllId.checked[0]==null){
-						selectAllId.checked.splice(0,1)
+				if(selectAllId){
+					if(selectAllId[0]==null){
+						selectAllId.splice(0,1)
 					}
 				}
 				$.ajax({