From ded99502ae2d7824d9584b5c69f4dfcf7bdb6759 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 27 九月 2021 10:38:29 +0800 Subject: [PATCH] 新增通用方法简化下载使用 --- ruoyi-ui/src/api/login.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index 2fa9f1c..2245616 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -47,6 +47,7 @@ export function getCodeImg() { return request({ url: '/captchaImage', - method: 'get' + method: 'get', + timeout: 20000 }) } \ No newline at end of file -- Gitblit v1.9.2