From d1a3c1bb3c522fef168c9e364faf17c149a1095f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 19 一月 2024 11:56:08 +0800 Subject: [PATCH] 11 --- src/utils/request.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 09bdfee..00c062a 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -3,6 +3,8 @@ import store from '@/store' import { getToken } from '@/utils/auth' import errorCode from '@/utils/errorCode' +import cache from '@/plugins/cache' + axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' // 鍒涘缓axios瀹炰緥 -- Gitblit v1.9.3