소스 검색

打开文件api增加显示右上角菜单功能

jwyu 3 년 전
부모
커밋
b4eadf5480
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pages-approve/utils/util.js

+ 1 - 0
pages-approve/utils/util.js

@@ -13,6 +13,7 @@ export const preViewFile=fileurl=>{
 			const tempFilePath = res.tempFilePath;
 			uni.openDocument({
 				filePath:tempFilePath,
+				showMenu:true,
 				success() {
 					console.log('打开成功');
 				},