fix: moment locale change

pull/784/head^2
tangjinzhou 2019-05-14 22:15:24 +08:00
parent e5020f7eb8
commit 28b7a68dc4
1 changed files with 1 additions and 3 deletions

View File

@ -49,9 +49,7 @@ const LocaleProvider = {
...this.locale, ...this.locale,
exist: true, exist: true,
}; };
this.$nextTick(() => { setMomentLocale(val);
setMomentLocale(val);
});
}, },
}, },
created() { created() {