[Client] Fix #3227

This commit is contained in:
syuilo 2018-11-14 03:05:13 +09:00
parent 66e3cb8eda
commit df23504ccf
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -138,6 +138,7 @@ import {
faTwitter as fabTwitter, faTwitter as fabTwitter,
faGithub as fabGithub, faGithub as fabGithub,
} from '@fortawesome/free-brands-svg-icons'; } from '@fortawesome/free-brands-svg-icons';
import i18n from './i18n';
library.add( library.add(
faRetweet, faRetweet,
@ -403,13 +404,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void,
}, { passive: true }); }, { passive: true });
const app = new Vue({ const app = new Vue({
i18n: new VueI18n({ i18n: i18n(),
sync: false,
locale: lang,
messages: {
[lang]: {}
}
}),
store: os.store, store: os.store,
data() { data() {
return { return {