Commit b5bd4a6a authored by 潘永坪's avatar 潘永坪

其实修改

parent cf40545b
......@@ -23,7 +23,7 @@ const request = (url = '', data = {},showLoad) => {
success(res) {
uni.hideLoading()
if(res.statusCode=='200'){
//请求成功,状态成功
//请求成功,状态正确
resolve(res.data)
}else{
//请求成功,状态不对
......@@ -43,7 +43,7 @@ const request = (url = '', data = {},showLoad) => {
let networkType = res.networkType
if (networkType === 'none') {//none是没有网络
uni.showToast({
title:'网络断开',
title:'网络异常',
icon: 'none',
duration:4000
})
......
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