Просмотр исходного кода

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

htc 4 дней назад
Родитель
Сommit
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();