Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
lison16 committed Jan 24, 2019
2 parents 2592e3b + bfb8f35 commit 3c5880a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/main/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ export default {
*/
this.setTagNavList()
this.setHomeRoute(routers)
const { name, params, query, meta } = this.$route
this.addTag({
route: this.$store.state.app.homeRoute
route: { name, params, query, meta }
})
this.setBreadCrumb(this.$route)
// 设置初始语言
Expand Down
1 change: 1 addition & 0 deletions src/locale/lang/en-US.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
home: 'Home',
login: 'Login',
components: 'Components',
count_to_page: 'Count-to',
tables_page: 'Table',
Expand Down
1 change: 1 addition & 0 deletions src/locale/lang/zh-CN.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
home: '首页',
login: '登录',
components: '组件',
count_to_page: '数字渐变',
tables_page: '多功能表格',
Expand Down
1 change: 1 addition & 0 deletions src/locale/lang/zh-TW.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
home: '首頁',
login: '登錄',
components: '组件',
count_to_page: '数字渐变',
tables_page: '多功能表格',
Expand Down

0 comments on commit 3c5880a

Please sign in to comment.