From e972c7e838d69f102b99b047eace674542d07a45 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 18 一月 2024 14:58:02 +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