如何下载我收到的文档?
这里是响应头:
Accept-Ranges: bytes
Access-Control-Allow-Origin: http://localhost:3000
Cache-Control: public
Connection: keep-alive
Content-Disposition: attachment; filename=reserve_list_1998_02_02.odt
Content-Length: 3621
Content-Type: application/vnd.oasis.opendocument.text
我正在尝试这样做:
<Link to={printDoc} download>DOWNLOAD</Link> // printDoc - my response (picture up)