RuoYi 3 жил өмнө
parent
commit
57f51249b6

+ 2 - 1
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
   })
 }