diff --git a/src/utils/http.ts b/src/utils/http.ts index d732e148..5a1c6359 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -18,8 +18,11 @@ const http: AxiosInstance = Axios.create({ timeout: 20000 }) +http.defaults.params = {} + http.interceptors.request.use( config => { + config.params['t'] = Date.now() return config }, error => {