瀏覽代碼

打开文件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('打开成功');
 				},