diff --git a/src/i18n/index.js b/src/i18n/index.js index 980be8f7b..3b11fe883 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -1,5 +1,5 @@ -import en from './langs/en'; -import zh from './langs/zh'; +import en from './langs/en/index'; +import zh from './langs/zh/index'; export default { en, diff --git a/src/i18n/langs/en.js b/src/i18n/langs/en/index.js similarity index 100% rename from src/i18n/langs/en.js rename to src/i18n/langs/en/index.js diff --git a/src/i18n/langs/zh.js b/src/i18n/langs/zh/index.js similarity index 100% rename from src/i18n/langs/zh.js rename to src/i18n/langs/zh/index.js diff --git a/src/views/demonstration/home.vue b/src/views/demonstration/home.vue index ff9aa535e..95adf3e3c 100644 --- a/src/views/demonstration/home.vue +++ b/src/views/demonstration/home.vue @@ -15,6 +15,7 @@