Client Ajax request to export doc file

According to the needs of the project, the doc file needs to be exported on the client side, and it is an interface for asynchronously requesting the Java background. The Java group has written a template in the interface, so, the front-end work is simpler

The jQuery used in the project, because the Ajax request was encapsulated before, the export file here is native js, record it for future reference

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45108907/article/details/100925358