mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
搜索传递用户id
This commit is contained in:
@@ -643,6 +643,7 @@ export default {
|
|||||||
pageIndex: 1, // 第几页
|
pageIndex: 1, // 第几页
|
||||||
pageSize: 9,//每页多少条
|
pageSize: 9,//每页多少条
|
||||||
openCourse: 0,//增加的公开课查询
|
openCourse: 0,//增加的公开课查询
|
||||||
|
userId:''
|
||||||
},
|
},
|
||||||
sceneList: [], //场景
|
sceneList: [], //场景
|
||||||
keyword: "",//查询的关键字
|
keyword: "",//查询的关键字
|
||||||
@@ -1375,6 +1376,7 @@ export default {
|
|||||||
let isTopList = [];
|
let isTopList = [];
|
||||||
// 隐藏loadMore
|
// 隐藏loadMore
|
||||||
this.moreState = 2;
|
this.moreState = 2;
|
||||||
|
this.course.userId = this.userInfo.aid
|
||||||
await apiCoursePortal.courseSearch(this.course).then(res => {
|
await apiCoursePortal.courseSearch(this.course).then(res => {
|
||||||
this.searching = false;
|
this.searching = false;
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user