From e8a79bd24576b3dfd5c85abb3c2380e96cac25bf Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Sat, 31 Jan 2026 09:11:00 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E6=94=B9=E4=BA=86golbalconfig.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/golbalConfig.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;