functionexportPDF(){ //将downPDF这个对象渲染成canvashtml2canvas(document.getElementById("export_word"),{onrendered:function(canvas){varcontentWidth=canvas.width;varcontentHeight=canvas.height;//一页pdf显示html页面生成的canvas高度;varpageHeight=contentWi