修复课程列表重复问题

This commit is contained in:
@fawn-nine
2024-10-21 13:08:03 +08:00
parent 5663fecb71
commit 2799b324cf
2 changed files with 4 additions and 7 deletions

View File

@@ -149,16 +149,13 @@ export default {
data: this.$http.adornData({
page: this.pageIndex,
limit: this.pageSize,
courseName: this.query.courseName,
type:1,
medicalId:"",//医学标签idtype为1时生效空字符串为全部
sociologyId:""//国学标签idtype为2时生效空字符串为全部
title: this.query.courseName
})
}).then(({ data }) => {
if(data.code != 0) return this.$message.error(data.msg);
if (data && data.code === 0) {
this.dataList = data.page.records;
this.totalPage = data.page.total;
this.dataList = data.courses.records;
this.totalPage = data.courses.total;
} else {
this.dataList = [];
this.totalPage = 0;

View File

@@ -401,7 +401,7 @@ export default {
},
addLinkPro(){
this.showSelectPro = true
this.requesturl = '/master/course/getCourseList'
this.requesturl = '/common/coupon/getCourseList'
},
changeCate(e) {
console.log("e", e);