feat[login]:add 18n to login form

This commit is contained in:
Pan
2017-12-25 15:29:59 +08:00
committed by 花裤衩
parent e261fbcbfb
commit f3bfaa0f2b
5 changed files with 133 additions and 83 deletions

View File

@@ -1,3 +1,4 @@
// 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
}