潘志宝
2024-11-02 b1d33fd41ee85b3100859764f7630fee3c205fab
1
2
3
4
// 携带登录态credentials必须为include
export default function fetch(url, options) {
  return window.fetch(url, { ...options, credentials: "omit" });
}