mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 11:18:42 +08:00
* perf[navbar]: set langSelect to component && refine errorLog component
* feat[login]:add 18n to login form
* fix[pagination]: fixed when selected page-sizes
* perf[i18n]:dashboard document svg permission
* perf[charts]: perf effect
* perf[i18n]:excel && zip
* perf[i18n]: table && errorLog && theme
* perf[i18n]: components
* perf[i18n]: direct use $t
* perf[i18n]: complex-table
* update README.md
* update README.md 📘
* perf[i18n]: refine code comments
5 lines
207 B
JavaScript
5 lines
207 B
JavaScript
// translate router.meta.title, be used in breadcrumb sidebar tagsview
|
|
export function generateTitle(title) {
|
|
return this.$t('route.' + title) // $t :this method from vue-i18n, inject in @/lang/index.js
|
|
}
|