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