11
WXL
2024-01-22 9f1ce0656ebc75a14d2c4031c48d1395d2e62aaa
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实例