前端打开后端返回的excel下载链接

window.location.href = url;
原文地址:https://www.cnblogs.com/ljy-/p/14031481.html