查询课程增加url中传keyword查询

This commit is contained in:
daihh
2023-03-14 12:20:57 +08:00
parent 4f6280833f
commit 00a55b1d25

View File

@@ -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:{