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