소스 검색

Merge pull request #344 from John-Hong/John/release-2.20.0/SCRM-5068-2

车场连接有问题,请联系服务台!
Tron 1 년 전
부모
커밋
dadf7fa616
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/api/request.js

+ 2 - 2
src/api/request.js

@@ -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)