Explorar o código

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

jwyu %!s(int64=3) %!d(string=hai) anos
pai
achega
b4eadf5480
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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('打开成功');
 				},