ソースを参照

user接口延长时间

wangziqian 4 年 前
コミット
28041131fe
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/api/user.js

+ 2 - 1
src/api/user.js

@@ -4,7 +4,8 @@ import { requestIp } from '@/apiConfig/requestIP'
 export function getUserInfo() {
   return request({
     url: requestIp + '/sso/user',
-    method: 'get'
+    method: 'get',
+    timeout: 10000
   })
 }