From 36cf70f2c9095543b591d6cd662286088ad6c07a Mon Sep 17 00:00:00 2001 From: pengYYYYY Date: Thu, 2 Sep 2021 10:11:54 +0800 Subject: [PATCH] fix: reuest.js eslint arrow warning (merge request !7) Squash merge branch 'fix/eslint/request.js/arrow' into 'develop' fix: reuest.js eslint arrow warning --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index e276b96..b205577 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ const instance = axios.create({ withCredentials: true, }); -instance.interceptors.request.use((config) => config); +instance.interceptors.request.use(config => config); instance.defaults.retry = 3;