Commit 271314b9 authored by 李苏's avatar 李苏 💬

请求

parent 32de1461
......@@ -58,11 +58,6 @@ http.interceptor.response(async (response) => { /* 请求之后拦截器 */
// }
return response
}, (response) => {
uni.showToast({
title: '请求失败,请检查网络。',
icon:'none',
duration: 2000
});
console.log("请求错误做点什么",response);
if (response) {
let data = response.data
......
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