This is my function define, set timeout 1000 * 60 * 5 can’t effect, but request is working.
export function cmdActiveVsi (data) {
return Vue.prototype.$api.post(baseUrl + '/com/mpls/v1/execVsiConfig', data, 1000 * 60 * 5)
}
This is Interceptors config, This config timeout is effect.
let instance = axios.create({
headers: {
'Content-Type': 'application/json;charset=UTF-8'
},
timeout: 1000 * 60
})