Commit 56022607 authored by tanjunxin's avatar tanjunxin

fix: 侧边栏标题更改

parent dfaa1b88
......@@ -33,17 +33,17 @@ export default {
return this.$store.state.settings.sideTheme
},
title() {
const roles = this.$store.getters.roles;
if (roles.includes("EPRole")){
return "研发管理系统"
}
if (roles.includes("MESRole")){
return "生产执行管理系统"
}
if (roles.includes("OrderRole")){
return "订单管理系统"
}
return '宝绅系统';
// const roles = this.$store.getters.roles;
// if (roles.includes("EPRole")){
// return "研发管理系统"
// }
// if (roles.includes("MESRole")){
// return "生产执行管理系统"
// }
// if (roles.includes("OrderRole")){
// return "订单管理系统"
// }
return '宝绅-生产执行系统';
}
},
data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment