@@ -77,7 +77,7 @@ export default function({ $axios, redirect, req, ...args }) {
console.log(data)
// req && req.url && needLogin(req.url)
let needLogin = false
- if (res.config && res.config.data) {
+ if (res.config && res.config.data && typeof res.config.data === 'string') {
const queryData = res.config.data
//将多cookie切割为多个名/值对
const arrQuery = queryData.split("&");