mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
标题问题
This commit is contained in:
@@ -558,6 +558,14 @@ export default {
|
|||||||
if (res.status == 200 && res.result.list.length > 0) {
|
if (res.status == 200 && res.result.list.length > 0) {
|
||||||
this.totalPages = res.result.totalPages;
|
this.totalPages = res.result.totalPages;
|
||||||
res.result.list.forEach(item => {
|
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;
|
item.title=item.name;
|
||||||
if(that.course.keyword){
|
if(that.course.keyword){
|
||||||
|
|||||||
Reference in New Issue
Block a user