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