mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
标题问题
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user