feat(cli): support locales

This commit is contained in:
陈嘉涵
2019-12-06 15:51:20 +08:00
parent 6bd858fac5
commit dc6cc6c5af
16 changed files with 336 additions and 135 deletions

View File

@@ -19,8 +19,7 @@ export default {
computed: {
title() {
const route = this.$route || {};
const { name } = route.meta || {};
const { name } = this.$route.meta || {};
return name ? name.replace(/-/g, '') : '';
}
},