瀏覽代碼

预览时异步获取pdf路径

sunyj 8 年之前
父節點
當前提交
60b7282e7c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/webapp/resources/js/preview/app.js

+ 1 - 1
src/main/webapp/resources/js/preview/app.js

@@ -177,7 +177,7 @@ function loadData() {
 			+ "&flush=true";
 	$.ajax({
 		type : "get",
-		async : false,
+		async : true,
 		url : loadPdfDataUrl,
 		success : function(path) {
 			document.title = getParameter("reportName");