From 878628b0ed9b7d56d29c9879020da03fbe7d029f Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 20 Jul 2018 10:25:14 +0800 Subject: [PATCH] tweak code comments --- src/lang/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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