Commit 4b208540 by zhangzhen

细节优化

parent 85d6d11b
......@@ -50,8 +50,13 @@ http.interceptor.request = (config => {
})
http.interceptor.response = (config) => {
// uni.hideLoading();
// console.log(config.data, "请求结果")
if(config.statusCode == 502){
uni.hideLoading()
uni.showToast({
icon: "none",
title: "内部服务错误,请稍后重试"
})
}
if (config.header && config.header["Access-Control-Expose-Headers"]) {
uni.setStorageSync('tokenHeaders', config.header["Access-Control-Expose-Headers"])
......
......@@ -886,7 +886,7 @@
})
return {
tempStartDate,
tempStartDate: this.orderType ==1? moment(tempStartDate).add(1,'m') : tempStartDate,
tempEndDate
}
},
......
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