SOURCE

const fileName = decodeURI(
            res.headers["content-disposition"]?.match(/(filename=(.*))/)
          );


var s = 'attachment;filename*=utf-8''%E9%97%A8%E5%BA%97%E5%95%86%E5%9C%88%E4%BF%A1%E6%81%AF1606468054558.xlsx';
console 命令行工具 X clear

                    
>
console