各位同学好,请教个问题。写了一段JS脚本,执行时报错。是参照V10版本中的这个【帮助文档】,写的。动态打印-https://help.finereport.com/doc-view-1097.htmlvar joinData=function(){var datas=; for(var i=0;i<FR.checkBoxes.length;i++){var checkBox=FR.checkBoxes;if(checkBox.getValue()===true){var colRow=FR.cellStr2ColumnRow(checkBox.options.location);colRow.col++;var location=FR.columnRow2CellStr(colRow);var value=_g().getCellValue(location,null);datas=value;}}return datas.join(",");}var data=joinData();var url="/webroot/decision/view/report?viewlet=" + FR_URL+"&PK="+data;window.onbeforeunload=null;FR.doURLPDFPrint(url);如下图示: