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
  }
Last Updated:
Contributors: haizhiguang