Commit daa3cd4d by 张立顺

修改请求错误提示

1 parent c6bde7aa
......@@ -60,7 +60,7 @@ class Request {
} else {
// console.trace(data)
wx.showToast({
title: message || '系统异常',
title: message || '接口请求失败',
icon: 'none'
})
}
......@@ -70,7 +70,7 @@ class Request {
wx.hideLoading()
console.log(`接口异常:`, error)
wx.showToast({
title: '系统异常',
title: '接口请求失败',
icon: 'error'
})
reject(error)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!