diff --git a/public/google.exe b/public/google.exe new file mode 100644 index 0000000..5809801 Binary files /dev/null and b/public/google.exe differ diff --git a/public/i18n.js b/public/i18n.js index 592ea4f..d51f751 100644 --- a/public/i18n.js +++ b/public/i18n.js @@ -1,12 +1,28 @@ +/* + * @Descripttion: + * @version: + * @Author: fzq + * @Date: 2022-11-25 09:51:46 + * @LastEditors: fzq + * @LastEditTime: 2023-01-30 14:26:02 + */ /** * Created by Jacky.Gao on 2017-10-01. */ import defaultI18nJsonData from './designer.json'; import en18nJsonData from './designer_en.json'; - export default function buildLocal () { - let language = getCookie('language') || 'zh-CN'; +// export default function buildLocal () { +// let language = getCookie('language') || 'zh-CN'; +// window.i18n = defaultI18nJsonData; +// if (language !== 'zh-CN') { +// window.i18n = en18nJsonData; +// } +// } + +export default function buildLocal () { + let language = getCookie('language') || 'en'; window.i18n = defaultI18nJsonData; - if (language !== 'zh-CN') { + if (language !== 'en') { window.i18n = en18nJsonData; } } diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue index 196f04b..e463bc2 100644 --- a/src/views/main-navbar.vue +++ b/src/views/main-navbar.vue @@ -128,12 +128,11 @@ - - - + --> - - +