react ,ant design中下載後臺(spring boot)返回的二進制流文件

前端部分代碼前端 (特別注意):在前端其實,數據的返回合適須要是:Blob類型,代碼:api responseType = 'blob'; (1):頁面調用方法出:app const { dispatch, product_no } = this.props; dispatch({ type: 'proProduct_model/exportOverd',
相關文章
相關標籤/搜索