chore: prettier markdown files

This commit is contained in:
chenjiahan
2020-04-02 15:39:06 +08:00
parent 2fb5cca49a
commit d48cd73adb
10 changed files with 105 additions and 121 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ Vue.mixin({
const locales = {};
const camelizedName = camelize(name);
Object.keys(i18n).forEach(key => {
Object.keys(i18n).forEach((key) => {
locales[key] = { [camelizedName]: i18n[key] };
});
@@ -60,7 +60,7 @@ Vue.mixin({
// switch lang after routing
if (window.vueRouter) {
window.vueRouter.afterEach(to => {
window.vueRouter.afterEach((to) => {
const { lang } = to.meta || {};
if (lang) {