|
@@ -921,11 +921,10 @@ export default {
|
|
|
return this.backNextItem(nextItem, nextItem.menuType, isNext);
|
|
|
},
|
|
|
async getResource(section, type, courseIndex) {
|
|
|
- console.error(section, "section");
|
|
|
- // if (section.doType != 1 && section.learning == 1 && section.type == 2) {
|
|
|
- // this.$message.warning("考试已通过,请勿重复考试");
|
|
|
- // return false;
|
|
|
- // }
|
|
|
+ if (section.doType != 1 && section.learning == 1 && section.type == 2) {
|
|
|
+ this.$message.warning("考试已通过,请勿重复考试");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if (
|
|
|
section.type != 2 &&
|
|
|
this.isActive(section) &&
|