Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
Overview
Overview
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
fengzhaoyu
mingPayPc
Commits
8cb2c928
Commit
8cb2c928
authored
Dec 06, 2019
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Plain Diff
角色修改判断
parents
c32bc2e6
54e80fd3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Home.vue
src/components/common/Home.vue
+2
-2
No files found.
src/components/common/Home.vue
View file @
8cb2c928
...
...
@@ -47,7 +47,7 @@ export default {
created
()
{
let
that
=
this
this
.
title
=
this
.
$route
.
meta
.
title
?
this
.
$route
.
meta
.
title
.
split
(
'/'
)
:
''
this
.
defaultSelectedKeys
=
this
.
$route
.
matched
[
2
].
name
?
this
.
$route
.
matched
[
2
].
name
:
''
this
.
defaultSelectedKeys
=
this
.
$route
.
matched
[
2
]
&&
this
.
$route
.
matched
[
2
]
.
name
?
this
.
$route
.
matched
[
2
].
name
:
''
let
data
=
{
item
:
'e-card'
}
...
...
@@ -60,7 +60,7 @@ export default {
watch
:
{
$route
(
to
,
from
)
{
this
.
title
=
to
.
meta
.
title
.
split
(
'/'
)
this
.
defaultSelectedKeys
=
this
.
$route
.
matched
[
1
].
name
?
this
.
$route
.
matched
[
1
].
name
:
''
this
.
defaultSelectedKeys
=
this
.
$route
.
matched
[
1
]
&&
this
.
$route
.
matched
[
1
].
name
?
this
.
$route
.
matched
[
1
].
name
:
''
}
},
computed
:
{},
...
...
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