提交 42441209 作者: yueyang.lv

fix(debug): 私有部署版本默认开启debug模式

上级 b5417f31
...@@ -35,8 +35,8 @@ class Store { ...@@ -35,8 +35,8 @@ class Store {
const storage = new Store(); const storage = new Store();
class DebugConfig { class DebugConfig {
/** 是否开启 */ /** 是否开启 私有部署版本 debug 默认开启 */
enabled: boolean = false; enabled: boolean = process.env.REACT_APP_SATURN_ENV === "private";
} }
function getDebugConfig() { function getDebugConfig() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论