From 99dcbe0207eed69ed2613f3cd9a11d0529bd7265 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 27 九月 2021 17:24:37 +0800 Subject: [PATCH] update 封装通用下载方法简化下载使用 --- ruoyi-ui/src/api/login.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index 8b5b6cf..abd49c7 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.3