标题问题

This commit is contained in:
daihh
2022-07-29 19:43:51 +08:00
parent 7aa2211f61
commit 71e33e4adc

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(item.teacher.indexOf(',')){
item.teacher=item.teacher.substring(0,dotIdx);
}
}
//转化标红显示
item.title=item.name;
if(that.course.keyword){