diff --git a/common/js/golbalConfig.js b/common/js/golbalConfig.js index c38a69f..70c050a 100644 --- a/common/js/golbalConfig.js +++ b/common/js/golbalConfig.js @@ -7,7 +7,7 @@ export default { computed: { // 是否是英文环境 isEnEnv() { - return this.$langConfig.getCurrentLocale() === 'en-us'; + return uni.getStorageSync('lang') === 'en-us'; }, themeStyle() { return this.$store.state.themeStyle; @@ -65,6 +65,10 @@ export default { componentRefresh() { return this.$store.state.componentRefresh; }, + // AI客服配置 + globalAIKefuConfig() { + return this.$store.state.globalAIKefuConfig; + }, // 客服配置 servicerConfig() { return this.$store.state.servicerConfig;