iczer/vue-antd-admin

where can I set axios retry and internal counts?

marklinglon opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.
where can I set axios retry and internal counts?
Now I set timeout in vue.config.js
'^/codecommit/': {
target: process.env.VUE_APP_CODE_COMMIT,
changeOrigin: true,
timeout: 1200000000,
// pathRewrite: {
// '^/codecommit/': '/codecommit/'
// }
},

but, it seems not effect.In 3 minutes,axios will send another request.