Commit c7589b80 by 李嘉林

显示条件问题

parent 3d1e8d61
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
let extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; let extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
console.log(extConfig, "-----------extConfig"); console.log(extConfig, "-----------extConfig");
if (JSON.stringify(extConfig) == "{}") { if (JSON.stringify(extConfig) == "{}") {
extConfig = process.env.NODE_ENV == "development" ? { mixid: "antgood", shopid: 67}:{ "mixid":"qiyeCT", "shopid":1045 }; extConfig = process.env.NODE_ENV == "development" ? { mixid: "antgood", shopid: 67}:{ "mixid":"XYKJ", "shopid":1153 };
} }
...@@ -69,10 +69,10 @@ export default { ...@@ -69,10 +69,10 @@ export default {
// 查询可显示的条件 // 查询可显示的条件
let { data: ids ,isAreaNavigation} = await this.checkCondition(showConditionIds); let { data: ids ,isAreaNavigation} = await this.checkCondition(showConditionIds);
// 没有定位组件 // 没有定位组件
if (!isAreaNavigation) { // if (!isAreaNavigation) {
cb() // cb()
return // return
} // }
// 设置visible // 设置visible
pageInfo.pageData = this.updateCondition(pageData, ids); pageInfo.pageData = this.updateCondition(pageData, ids);
console.log(showConditionIds, "--------------5454", ids, pageInfo); console.log(showConditionIds, "--------------5454", ids, pageInfo);
......
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