mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-13 04:46:47 +08:00
查询课程增加url中传keyword查询
This commit is contained in:
@@ -338,14 +338,20 @@
|
|||||||
}else{
|
}else{
|
||||||
this.conType=1;
|
this.conType=1;
|
||||||
}
|
}
|
||||||
if(options.keyword){
|
|
||||||
this.keyword=options.keyword;
|
|
||||||
}
|
|
||||||
this.loadSeachWords();
|
this.loadSeachWords();
|
||||||
if(this.audiences.length==0){
|
if(this.audiences.length==0){
|
||||||
apiUserbasic.getInAudienceIds(this.userInfo.aid).then(rs=>{
|
apiUserbasic.getInAudienceIds(this.userInfo.aid).then(rs=>{
|
||||||
this.audiences=rs;
|
this.audiences=rs;
|
||||||
|
if(options.keyword){
|
||||||
|
this.wordSearch(options.keyword);
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
if(options.keyword){
|
||||||
|
this.wordSearch(options.keyword);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
|
|||||||
Reference in New Issue
Block a user