wangxy 2 days ago
parent
commit
7bf104f623
1 changed files with 5 additions and 1 deletions
  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"}
+				 }
 			}
 		}
 	],