Commit e1e749d8a409758e1975b8db41145e157d407022

Authored by YunaiV
1 parent 5856c930

v3.7.0 验证码默认20s超时(请求)

yudao-ui-admin/src/api/login.js
... ... @@ -35,7 +35,8 @@ export function logout() {
35 35 export function getCodeImg() {
36 36 return request({
37 37 url: '/system/captcha/get-image',
38   - method: 'get'
  38 + method: 'get',
  39 + timeout: 20000
39 40 })
40 41 }
41 42  
... ...