From 1d109550d49dd846275af38d25354f4dbad8945e Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 13 十二月 2023 11:42:08 +0800 Subject: [PATCH] update_202312131141_房间增加敷麻状态,且刷新按钮改为刷新整个浏览器页面 --- src/config/index.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index f7eb119..5a01f9b 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -7,16 +7,25 @@ import appId from './appid.js' -var ismock = 1// 铏氭嫙鏁版嵁 0涓嶄娇鐢� 1浣跨敤 -var istest = 0// 0绾夸笂 1鏈湴 2娴嬭瘯鐜 +var ismock = 0// 铏氭嫙鏁版嵁 0涓嶄娇鐢� 1浣跨敤 +var istest = 2// 0绾夸笂 1鏈湴 2娴嬭瘯鐜 var isConsole = 1// 鏄惁灞忚斀console 0灞忚斀 1寮�鏀� var debug = isConsole var isWxLoginType = 0 // 寰俊鐧诲綍 0鏃� 1闈欓粯寰俊鐧诲綍snsapi_base 2鎵嬪姩寰俊鐧诲綍snsapi_userinfo +var isTestView = 1 +var is_use_test_server = 1 // 鏄惁閮ㄧ讲鍦ㄦ祴璇曟湇鍔″櫒 +var localOnline = istest ? 0 : 1 // 鏈湴杩炵嚎涓� // 鎵撳寘鍚庣殑鐜 if (process.env && process.env.NODE_ENV !== 'development') { istest = 0 ismock = 0 + isTestView = 0 + localOnline = 0 + if (is_use_test_server) { + isTestView = 1 + } + } const pdomain = '/' // 绾夸笂 @@ -74,6 +83,8 @@ export default { ismock, istest, + isTestView, + localOnline, isWxLoginType, isConsole, debug, -- Gitblit v1.8.0