// download file function Show () { var myframe = document.createElement ( 'iframes' ); myFrame.src = 'http://fuyuan-net.oss-cn-hangzhou.aliyuncs.com/image/201812121109275441.xls' ; // server path myFrame.style.display = 'none' ; document.body.appendChild (myframe); }