Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mes
mes-ui
Commits
56022607
Commit
56022607
authored
Apr 10, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 侧边栏标题更改
parent
dfaa1b88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Logo.vue
src/layout/components/Sidebar/Logo.vue
+11
-11
No files found.
src/layout/components/Sidebar/Logo.vue
View file @
56022607
...
@@ -33,17 +33,17 @@ export default {
...
@@ -33,17 +33,17 @@ export default {
return
this
.
$store
.
state
.
settings
.
sideTheme
return
this
.
$store
.
state
.
settings
.
sideTheme
},
},
title
()
{
title
()
{
const
roles
=
this
.
$store
.
getters
.
roles
;
//
const roles = this.$store.getters.roles;
if
(
roles
.
includes
(
"EPRole"
)){
//
if (roles.includes("EPRole")){
return
"研发管理系统"
//
return "研发管理系统"
}
//
}
if
(
roles
.
includes
(
"MESRole"
)){
//
if (roles.includes("MESRole")){
return
"生产执行管理系统"
//
return "生产执行管理系统"
}
//
}
if
(
roles
.
includes
(
"OrderRole"
)){
//
if (roles.includes("OrderRole")){
return
"订单管理系统"
//
return "订单管理系统"
}
//
}
return
'宝绅系统'
;
return
'宝绅
-生产执行
系统'
;
}
}
},
},
data
()
{
data
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment