Browser response:
And entering the breakpoint debugging, all the data is performed is not a download prompt. Download fails
If set, then manually set the download path, download success, there is no download prompt.
Question:'re using ajax request path.
However, if the download prompt box appears, should be re-open a new window, so you should use location.href = url request path
so the problem is solved.
---------------------
Author: Source ORACLE
Source: CSDN
Original: https: //blog.csdn.net/jinchunzhao123/article/details/88626077
copyright notice : This article is a blogger original article, reproduced, please attach Bowen link!