wangxy 2 天之前
父节点
当前提交
7bf104f623
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      pages.json

+ 5 - 1
pages.json

@@ -137,7 +137,11 @@
 			"path" : "pages/pdfPage/pdfPage",
 			"style" : {
 				"navigationBarTitleText": "预览",
-				"disableScroll": true
+				"disableScroll": true,
+				"webview": {
+					"domStorage": "true",  // 启用本地存储
+					"crossorigin": "anonymous" // 跨域支持:ml-citation{ref="5" data="citationList"}
+				 }
 			}
 		}
 	],