Преглед изворни кода

设置文字识别接口超时时间为10分钟。

wukai пре 1 година
родитељ
комит
544443bb49
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/api/common/common.js

+ 1 - 0
src/api/common/common.js

@@ -3,6 +3,7 @@ import request from '@/utils/request'
 export function ocrRemark(data) {
     return request({
         url: `/api/ocr/${data}`,
+		timeout: 10*60*1000,//配置超时时间
         method: "get",
     })
 }