Open swuecho opened 2 weeks ago
或者提供是否显示文件链接的props, 显示了文件链接, 但是又不能用, 比较棘手.
没太理解需求 data
with-credentials
?
点击链接的时候会发送get 请求. 后台根据JWT token 鉴权的, with-credentials 根据文档是带上cookies
点击链接的时候会发送get 请求. 后台根据JWT token 鉴权的, with-credentials 根据文档是带上cookies
这个猜想有误, 应该是浏览器打开了链接.
可能设计的点击浏览器打开
Clear and concise description of the problem
点击这个link 触发下载, 但是headers 没有带上, 导致 unauthorized
Suggested solution
GET request 带上headers
Alternative
No response
Additional context
No response
Validations