Browse Source

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

wukai 1 năm trước cách đây
mục cha
commit
544443bb49
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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",
     })
 }