|
@@ -355,11 +355,11 @@ export default {
|
|
|
// 判断 是规划多 还是课多
|
|
|
let classDates = res2.data.classDates;
|
|
|
let musicGroupTrainPlans = res2.data.musicGroupTrainPlans;
|
|
|
- if (classDates.length < 1) {
|
|
|
- this.$message.error("当前学期该班级暂无此类型课程");
|
|
|
- this.planList = [];
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (classDates.length < 1) {
|
|
|
+ // this.$message.error("当前学期该班级暂无此类型课程");
|
|
|
+ // this.planList = [];
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
if (classDates.length >= musicGroupTrainPlans.length) {
|
|
|
this.planList = res2.data.classDates.map((time, index) => {
|