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", 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() {

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

Loading…
Cancel
Save