首页国际化

This commit is contained in:
猫猫guowen
2025-06-10 15:25:02 +08:00
parent 0b6d592ef8
commit 2b54284768
5 changed files with 66 additions and 31 deletions

View File

@@ -47,7 +47,7 @@ export default {
}
// 判断是否为首页
if (!this.isDashboard(matched[0])) {
matched = [{ path: "/index", meta: { title: "首页" } }].concat(matched)
matched = [{ path: "/index", meta: { title: '首页' } }].concat(matched)
}
this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
},