diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index f3c721a..74ed95e 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