Commit 6e64390d by 程默

Merge branch 'product_dev' of http://code.mayi888.com/chengmo/mayi-mp-shop into product_dev

parents 16479313 71100a61
......@@ -3,7 +3,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