Commit 66696011 by 程默

fix

parent cb11309b
......@@ -40,6 +40,7 @@
"projectname": "mayi-mp-shop",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"libVersion": "2.16.1",
"condition": {
"search": {
"list": []
......
......@@ -4,8 +4,8 @@ export default {
// NODE_ENV
let extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
console.log(extConfig,'-----------extConfig')
if (process.env.NODE_ENV == "development" || JSON.stringify(extConfig) == "{}") {
// extConfig = { mixid: "antgood" };
if (JSON.stringify(extConfig) == "{}") {
extConfig = process.env.NODE_ENV == "development" ? { mixid: "antgood" }:{ mixid: "ant" };
}
this.$store.commit("setExtConfig", extConfig.mixid);
// 调用API从本地缓存中获取数据
......
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