瀏覽代碼

查看报告去掉右上角的菜单

htc 1 周之前
父節點
當前提交
7c6828ca47
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pagesHome/components/report/generateList.vue
  2. 1 1
      pagesHome/components/report/receiveList.vue

+ 1 - 1
pagesHome/components/report/generateList.vue

@@ -231,7 +231,7 @@
 				const openRes = await uni.openDocument({
 				const openRes = await uni.openDocument({
 				  filePath: dres.tempFilePath,
 				  filePath: dres.tempFilePath,
 				  fileType: 'pdf',
 				  fileType: 'pdf',
-				  showMenu: true // 允许用户转发/保存等
+				  showMenu: false
 				});
 				});
 		
 		
 				uni.hideLoading();
 				uni.hideLoading();

+ 1 - 1
pagesHome/components/report/receiveList.vue

@@ -112,7 +112,7 @@
 				const openRes = await uni.openDocument({
 				const openRes = await uni.openDocument({
 				  filePath: dres.tempFilePath,
 				  filePath: dres.tempFilePath,
 				  fileType: 'pdf',
 				  fileType: 'pdf',
-				  showMenu: true // 允许用户转发/保存等
+				  showMenu: false
 				});
 				});
 		
 		
 				uni.hideLoading();
 				uni.hideLoading();