js自动下载指定路径下excel,word等文件

后台返回excel,word文件,前端如何实现自动下载实现方式:

window.open(src),将会自动下载

 

You may also like...

2 Responses

  1. zoritoler imol说道:

    I just couldn’t depart your site prior to suggesting that I actually enjoyed the standard information a person provide for your visitors? Is gonna be back often to check up on new posts

  2. zoritoler imol说道:

    I couldn’t resist commenting

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

CAPTCHAis initialing...