refine: convert chinese to english
This commit is contained in:
@@ -21,8 +21,8 @@ export default {
|
||||
getBreadcrumb() {
|
||||
let matched = this.$route.matched.filter(item => item.name)
|
||||
const first = matched[0]
|
||||
if (first && (first.name !== '首页' || first.path !== '')) {
|
||||
matched = [{ name: '首页', path: '/' }].concat(matched)
|
||||
if (first && (first.name !== 'Home' || first.path !== '')) {
|
||||
matched = [{ name: 'Home', path: '/' }].concat(matched)
|
||||
}
|
||||
this.levelList = matched
|
||||
}
|
||||
|
Reference in New Issue
Block a user