src/scripts/httpRequest.ts
@@ -12,6 +12,7 @@ /* //POST传参序列化(添加请求拦截器) */ Axios.interceptors.request.use( (config) => { console.log(config, "config") if ((config.method === "post" && sessionStorage.getItem("clusterId")) || sessionStorage.getItem("devId")) { if (!config.data) { config.data = {}