From b89d99f2a581a32eeef43d6cc92a8916fd8b12ae Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Fri, 9 Aug 2019 09:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9i18n=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E5=B1=82=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/index.js | 4 ++-- src/i18n/langs/{en.js => en/index.js} | 0 src/i18n/langs/{zh.js => zh/index.js} | 0 src/views/demonstration/home.vue | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) rename src/i18n/langs/{en.js => en/index.js} (100%) rename src/i18n/langs/{zh.js => zh/index.js} (100%) 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 @@
城市轨道交通仿真系统以各地铁信号系统为基础,针对培训部分进行改造,旨在构建一套用于行车演示的专业仿真模拟系统。 该系统具有高灵活性以便于将来的扩展升级,同时,仿真系统具备正常操作及故障操作两种模式,除了正常的功能操作以外还可以进行设备的故障模拟。
+ {{ $t('hello') }}