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') }}