前端导出文件功能document.execCommand命令

参照

http://blog.csdn.net/woshinia/article/details/18664903

原文地址:https://www.cnblogs.com/aligege/p/6963605.html