diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index f3c721a0d9b8f9086923468aa4d5a3b0db72d333..74ed95edeeae0f179a578e0fb4f14d6eb3e92087 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -49,6 +49,7 @@ export function logout() { export function getCodeImg() { return request({ url: '/code', - method: 'get' + method: 'get', + timeout: 20000 }) } \ No newline at end of file