sendJson() {
var that = this;
var arr = this.multipleSelection; // 你请求的数组
if (arr.length == 0) {
this.KaTeX parse error: Expected 'EOF', got '}' at position 97: … return; }̲ function…nextTick(()=>{
// that.tableData = newTable;
// })
} else {
that.err.push(requestData.id);
}
if (loopNum < arr.length - 1) {
++loopNum;
resolve(arr[loopNum]);
}
})
.catch(err => {
reject(err);
});
});
promise.then(requestData => {
loopBody(requestData);
});
}
loopBody(arr[0]);
}
loopRequest(arr);
}