|
@@ -230,7 +230,7 @@ export const createAxiosByinterceptors = (config) => {
|
|
|
// 请求超时
|
|
|
if (error.code === 'ECONNABORTED') {
|
|
|
let msg = '请求超时,请稍后重试'
|
|
|
- if(error.config.url.indexOf('parking-lots/lbs') > -1) {
|
|
|
+ if(error.config.url.indexOf('parking-lots/lbs') > -1 || error.config.url.indexOf('/parking/unlicensed-car-checkout') > -1 || error.config.url.indexOf('/parking/check-out') > -1) {
|
|
|
msg = '车场连接有问题,请联系服务台!'
|
|
|
}
|
|
|
Toast.clear()
|
|
@@ -240,7 +240,7 @@ export const createAxiosByinterceptors = (config) => {
|
|
|
duration: 0,
|
|
|
icon: 'none'
|
|
|
});
|
|
|
- }, 300)
|
|
|
+ }, 100)
|
|
|
setTimeout(() => {
|
|
|
Toast.clear()
|
|
|
}, 3800)
|