Commit fdecc868 by 李伟康

增加wxconfig错误提醒

1 parent 45cd5caf
......@@ -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()
// })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!