Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
e72ae80f
Commit
e72ae80f
authored
Jul 20, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug.
parent
854f92c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.gitignore
.gitignore
+1
-0
index.vue
src/components/Breadcrumb/index.vue
+1
-1
No files found.
.gitignore
View file @
e72ae80f
.DS_Store
node_modules/
dist/
dist.tar.gz
npm-debug.log*
yarn-debug.log*
yarn-error.log*
...
...
src/components/Breadcrumb/index.vue
View file @
e72ae80f
...
...
@@ -37,7 +37,7 @@ export default {
const
first
=
matched
[
0
]
if
(
!
this
.
isDashboard
(
first
))
{
matched
=
[{
path
:
'/
index
'
,
meta
:
{
title
:
'首页'
}}].
concat
(
matched
)
matched
=
[{
path
:
'/
dashboard
'
,
meta
:
{
title
:
'首页'
}}].
concat
(
matched
)
}
this
.
levelList
=
matched
.
filter
(
item
=>
item
.
meta
&&
item
.
meta
.
title
&&
item
.
meta
.
breadcrumb
!==
false
)
...
...
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