Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
2f177f15
Commit
2f177f15
authored
Dec 30, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页 翻译
parent
e45a01d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
index.vue
src/components/Breadcrumb/index.vue
+2
-2
index.js
src/router/index.js
+2
-1
No files found.
src/components/Breadcrumb/index.vue
View file @
2f177f15
...
...
@@ -35,7 +35,7 @@ export default {
const
first
=
matched
[
0
]
if
(
!
this
.
isDashboard
(
first
))
{
matched
=
[{
path
:
'
/index
'
,
meta
:
{
title
:
'
首页
'
}}].
concat
(
matched
)
matched
=
[{
path
:
'
/index
'
,
meta
:
{
title
:
'
首页
'
,
titleEn
:
'
Home
'
}}].
concat
(
matched
)
}
this
.
levelList
=
matched
.
filter
(
item
=>
item
.
meta
&&
item
.
meta
.
title
&&
item
.
meta
.
breadcrumb
!==
false
)
...
...
@@ -49,7 +49,7 @@ export default {
return
name
.
trim
()
===
'
首页
'
// 修复 Index 重复的问题
},
handleLink
(
item
)
{
return
return
const
{
redirect
,
path
}
=
item
if
(
redirect
)
{
this
.
$router
.
push
(
redirect
)
...
...
src/router/index.js
View file @
2f177f15
...
...
@@ -65,7 +65,8 @@ export const constantRoutes = [
path
:
'
index
'
,
component
:
(
resolve
)
=>
require
([
'
@/views/index
'
],
resolve
),
name
:
'
首页
'
,
meta
:
{
title
:
'
首页
'
,
icon
:
'
dashboard
'
,
affix
:
true
}
nameEn
:
'
Home
'
,
meta
:
{
title
:
'
首页
'
,
titleEn
:
'
Home
'
,
icon
:
'
dashboard
'
,
affix
:
true
}
}
]
},
{
...
...
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