|
|
@@ -247,7 +247,7 @@ class SendVote extends Component {
|
|
|
if (this.isRequesting == true) {
|
|
|
return
|
|
|
}
|
|
|
- this.isRequesting = true
|
|
|
+
|
|
|
const stuList = [], teacherList = []
|
|
|
if (!isObjEmpty(this.checkNodes)) {
|
|
|
this.checkNodes.forEach((node, index) => {
|
|
|
@@ -340,7 +340,7 @@ class SendVote extends Component {
|
|
|
console.log('params', {
|
|
|
voteString: params
|
|
|
})
|
|
|
-
|
|
|
+ this.isRequesting = true
|
|
|
Toast.loading('投票发布中...', 0)
|
|
|
fetchPost(API.voteCreate, {
|
|
|
voteString: JSON.stringify(params)
|