|
@@ -170,7 +170,7 @@ export default {
|
|
// // if (this.isOutRange(stuList)) return;
|
|
// // if (this.isOutRange(stuList)) return;
|
|
// info.students = stuList;
|
|
// info.students = stuList;
|
|
let res = await this.createClass(info);
|
|
let res = await this.createClass(info);
|
|
- if (this.$checkRes(res, '分班成功', '分班失败')) this.resetData();
|
|
|
|
|
|
+ if (this.$checkRes(res, '分班成功', res.errmsg || '分班失败')) this.resetData();
|
|
//重置信息
|
|
//重置信息
|
|
this.selectInfo = {
|
|
this.selectInfo = {
|
|
male: 0,
|
|
male: 0,
|