Commit 71100a61 by 程智春

extConfig

parent 3507389f
......@@ -4,7 +4,8 @@ export default {
created() {
// NODE_ENV
let extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
if (process.env.NODE_ENV == "development") {
console.log(extConfig,'-----------extConfig')
if (process.env.NODE_ENV == "development" || JSON.stringify(extConfig) == "{}") {
extConfig = { mixid: "antgood" };
}
this.$store.commit("setExtConfig", extConfig.mixid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment