dev_2022-05-11
e 3 years ago
parent 0ca57930c9
commit 12bf291f9e
  1. 6
      src/layouts/navbar/index.vue
  2. 6
      src/pages/achievement/show/index.vue

@ -54,7 +54,7 @@ export default {
{
icon: "el-icon-collection",
index: "/achievement/list",
title: "成绩管理"
title: "成绩管理",
},
{
icon: "el-icon-news",
@ -102,7 +102,9 @@ export default {
for (let i in this.actives) {
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() {

@ -316,8 +316,8 @@ export default {
<style lang="scss" scoped>
.box {
padding: 0 50px;
background-color: #fff;
//padding: 0 20px;
//background-color: #fff;
}
/deep/ .el-textarea.is-disabled .el-textarea__inner {
@ -334,7 +334,7 @@ export default {
#pdfDom {
padding: 50px;
background: #fff;
/deep/ .info-table {
margin-bottom: 40px;
border: 0;

Loading…
Cancel
Save