if (res.data.type === 'application/json') {
const blob = res.data
const text = await blob.text()
res.data = JSON.parse(text)
message.warning(res.data.msg)
return
}
海之光的个人博客 if (res.data.type === 'application/json') {
const blob = res.data
const text = await blob.text()
res.data = JSON.parse(text)
message.warning(res.data.msg)
return
}