JS实现文件另存为
JS实现文件另存为
//下载平面图 function downPlan() { var oPop = window.open(src, "", "width=1, height=1, top=5000, left=5000"); for (; oPop.document.readyState != "complete"; ) { if (oPop.document.readyState == "complete") break; } oPop.document.execCommand("SaveAs"); oPop.close(); }