Commit 9c704982 authored by 智勇's avatar 智勇

超时

parent 166cc98d
...@@ -8,7 +8,7 @@ import { showLoading, hideLoading } from './loading' ...@@ -8,7 +8,7 @@ import { showLoading, hideLoading } from './loading'
// create an axios instance // create an axios instance
const service = axios.create({ const service = axios.create({
baseURL: process.env.QA_API, baseURL: process.env.QA_API,
timeout: 5000 // request timeout timeout: 1000 * 30 // request timeout
}) })
// request interceptor // request interceptor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment