diff --git a/miniprogram/config.js b/miniprogram/config.js index f3e72b06..b1ef9003 100644 --- a/miniprogram/config.js +++ b/miniprogram/config.js @@ -29,7 +29,7 @@ const getEnv = () => { typeof __wxConfig !== "undefined" && __wxConfig && __wxConfig.envVersion ? __wxConfig.envVersion : "develop"; - return envVersion === "release" ? "production" : "development"; + return envVersion !== "develop" ? "production" : "development"; } catch (e) { return "development"; }