Download Excel file functionality through the Firefox browser to download no suffix

       Recently I encountered a problem, using the Chrome browser with file export Excelwe is no problem, but with the Firefox browser will download the Excel file has no extension. Check a lot of things I did not find the cause. Finally and download before doing comparison, the Excel file name is not the same, before the Excel file name without a time stamp, the file name is: xxx2019-08-12 12_23_23.xls, Chrome and Firefox by comparison, Firefox would spaces after part of the interception off, causing the file extension has also been intercepted off. The solution is to change the file xxx2019-08-12_12_23_23.xls, this problem is solved.

Guess you like

Origin www.cnblogs.com/sqy123/p/11490194.html