Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
viitto
pptist
Commits
b8954b3b
Commit
b8954b3b
authored
Jul 01, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
屏蔽logo设置
parent
a055c568
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Layout.vue
src/views/TeamCenter/Layout.vue
+4
-3
No files found.
src/views/TeamCenter/Layout.vue
View file @
b8954b3b
...
@@ -62,9 +62,10 @@ if(menus.value.length==0){
...
@@ -62,9 +62,10 @@ if(menus.value.length==0){
}
}
watch
(()
=>
router
.
currentRoute
.
value
.
path
,
(
toPath
)
=>
{
watch
(()
=>
router
.
currentRoute
.
value
.
path
,
(
toPath
)
=>
{
if
(
userInfo
.
value
.
isp
){
// if(userInfo.value.isp){
menus
.
value
=
useMenu
.
getUserMenu
.
filter
(
x
=>
{
return
x
.
url
!=
'/a/l'
})
// menus.value = useMenu.getUserMenu.filter(x=> {return x.url!='/a/l'})
}
else
menus
.
value
=
useMenu
.
getTeamMenu
// } else menus.value = useMenu.getTeamMenu
menus
.
value
=
useMenu
.
getUserMenu
.
filter
(
x
=>
{
return
x
.
url
!=
'/a/l'
})
if
(
!
menus
.
value
)
return
if
(
!
menus
.
value
)
return
menus
.
value
.
forEach
((
x
,
i
)
=>
{
menus
.
value
.
forEach
((
x
,
i
)
=>
{
if
(
x
.
url
==
router
.
currentRoute
.
value
.
path
){
if
(
x
.
url
==
router
.
currentRoute
.
value
.
path
){
...
...
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