From 52756e8a22ff5d3c5e9cf90dfa5b87742c60350d Mon Sep 17 00:00:00 2001 From: 艺术家 <10819716+q100102@user.noreply.gitee.com> Date: 星期四, 22 五月 2025 16:24:23 +0800 Subject: [PATCH] 功能优化 --- 项目代码/client/src/api/http.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/http.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/http.js" index 52c023c..723fc4f 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/http.js" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/http.js" @@ -6,6 +6,7 @@ const router = useRouter(); axios.defaults.timeout = 50000; +axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' axios.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded;charset=UTF-8"; axios.defaults.headers.post["Content-Type"] = "multipart/form-data"; -- Gitblit v1.9.3