|
|
@ -54,7 +54,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
icon: "el-icon-collection", |
|
|
|
icon: "el-icon-collection", |
|
|
|
index: "/achievement/list", |
|
|
|
index: "/achievement/list", |
|
|
|
title: "成绩管理" |
|
|
|
title: "成绩管理", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
icon: "el-icon-news", |
|
|
|
icon: "el-icon-news", |
|
|
@ -102,7 +102,9 @@ export default { |
|
|
|
for (let i in this.actives) { |
|
|
|
for (let i in this.actives) { |
|
|
|
if (actives[i].includes(this.$route.name)) this.active = `/${i}/list`; |
|
|
|
if (actives[i].includes(this.$route.name)) this.active = `/${i}/list`; |
|
|
|
} |
|
|
|
} |
|
|
|
this.active = this.$route.path; |
|
|
|
let arr=this.$route.path.split("/"); |
|
|
|
|
|
|
|
let name = `/${arr[1]}/list` |
|
|
|
|
|
|
|
this.active = name; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|