From 695ae7f01da0d593ee3928a4b706af50819fee85 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 18 一月 2024 14:58:12 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web --- 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