Skip to content

Commit 28b7a68

Browse files
committed
fix: moment locale change
1 parent e5020f7 commit 28b7a68

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: components/locale-provider/index.jsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ const LocaleProvider = {
4949
...this.locale,
5050
exist: true,
5151
};
52-
this.$nextTick(() => {
53-
setMomentLocale(val);
54-
});
52+
setMomentLocale(val);
5553
},
5654
},
5755
created() {

0 commit comments

Comments
 (0)