|
@@ -985,8 +985,8 @@ export default {
|
|
|
* 获取学习记录
|
|
|
*/
|
|
|
getRecord(item) {
|
|
|
- this.$request.studyrecordgetUserWatchLast().then(async (res) => {
|
|
|
- if (res.data && res.data.sectionId) {
|
|
|
+ this.$request.studyrecordgetUserStudyLast().then(async (res) => {
|
|
|
+ // if (res.data && res.data.sectionId) {
|
|
|
await this.getGoodsData(res);
|
|
|
var stop = false;
|
|
|
for (let y = 0; y < this.goodsTeacher.length; y++) {
|
|
@@ -1115,9 +1115,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
- this.resultCourseGoodsList();
|
|
|
- }
|
|
|
+
|
|
|
+ // } else {
|
|
|
+ // this.resultCourseGoodsList();
|
|
|
+ // }
|
|
|
});
|
|
|
},
|
|
|
resultCourseGoodsList() {
|