method: "POST", | method: "POST", | ||||
showLoading: true, | showLoading: true, | ||||
}; | }; | ||||
// #ifdef MP-WEIXIN | |||||
request(getGlobalParam, options).then((res) => { | request(getGlobalParam, options).then((res) => { | ||||
const result = stringToJson(res.bizContent); | const result = stringToJson(res.bizContent); | ||||
setItem('globalParam', result.data) | setItem('globalParam', result.data) | ||||
console.log("配置", result); | console.log("配置", result); | ||||
}); | }); | ||||
// #ifdef MP-WEIXIN | |||||
// #endif | // #endif | ||||
}, | }, | ||||
"navigationBarTitleText": "", | "navigationBarTitleText": "", | ||||
"enablePullDownRefresh": false | "enablePullDownRefresh": false | ||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
"path": "pages/order/order", | "path": "pages/order/order", | ||||
"style": { | "style": { | ||||
} | } | ||||
} | } | ||||
}, | }, | ||||
{ | { | ||||
"path": "pages/service/service", | "path": "pages/service/service", | ||||
"style": { | "style": { |