Commit f9388c9c by 张立顺

Merge branch 'dev_2.10.1' of 192.168.3.233:glsx/scrm-wx-merchant-activity into dev_2.10.1

2 parents 4bbc77be 078f8574
......@@ -51,7 +51,10 @@ const WxConfig = {
})
} else {
if (wwRequestCount < 3) this.getWWConfig(jsApiList)
else Notify(message)
else {
Notify('获取jsconfig失败')
throw new Error('获取jsconfig失败')
}
// util.refreshPage('获取WWCONFIG失败').then(() => {
// window.location.reload()
// })
......@@ -97,7 +100,10 @@ const WxConfig = {
resolve()
} else {
if (requestCount < 3) this.getWxConfig(jsApiList)
else Notify(message)
else {
Notify('获取jsconfig失败')
throw new Error('获取jsconfig失败')
}
// util.refreshPage('获取WXCONFIG失败').then(() => {
// window.location.reload()
// })
......@@ -240,11 +246,11 @@ const WxConfig = {
onMenuShareAppMessage(params) {
return new Promise(resolve => {
wx.onMenuShareAppMessage({
...params,
success: function () {
resolve()
// 用户点击了分享后执行的回调函数
}
},
...params
})
})
},
......@@ -253,11 +259,11 @@ const WxConfig = {
delete params.desc
return new Promise(resolve => {
wx.onMenuShareTimeline({
...params,
success: function () {
resolve()
// 用户点击了分享后执行的回调函数
}
},
...params
})
})
},
......
......@@ -10,7 +10,7 @@
module.exports = {
title: '加载中...',
request: {
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!