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