Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal into online

This commit is contained in:
dongruihua
2022-07-29 19:47:23 +08:00

View File

@@ -558,6 +558,14 @@ export default {
if (res.status == 200 && res.result.list.length > 0) {
this.totalPages = res.result.totalPages;
res.result.list.forEach(item => {
//教师转化
if(item.teacher){
let dotIdx=item.teacher.indexOf(',');
if(dotIdx>0){
item.teacher=item.teacher.substring(0,dotIdx);
}
}
//转化标红显示
item.title=item.name;
if(that.course.keyword){