diff --git a/src/lang/index.js b/src/lang/index.js index a36a9804..a77b07ea 100644 --- a/src/lang/index.js +++ b/src/lang/index.js @@ -20,8 +20,11 @@ const messages = { } const i18n = new VueI18n({ - locale: Cookies.get('language') || 'en', // set locale - messages // set locale messages + // set locale + // options: en or zh + locale: Cookies.get('language') || 'en', + // set locale messages + messages }) export default i18n