diff --git a/yudao-ui-admin/src/api/login.js b/yudao-ui-admin/src/api/login.js index 24a9df475..740f49795 100644 --- a/yudao-ui-admin/src/api/login.js +++ b/yudao-ui-admin/src/api/login.js @@ -35,7 +35,8 @@ export function logout() { export function getCodeImg() { return request({ url: '/system/captcha/get-image', - method: 'get' + method: 'get', + timeout: 20000 }) }