出现"opendocument filetype not supported" 错误通常意味着尝试打开的文件类型不被支持。 这个错误通常发生在尝试使用 openDocument API 打开一个不支持的文件类型时。以下是一些可能的解决步骤和考虑因素: 检查文件类型: 确保你尝试打开的文件类型是被 openDocument API 支持的。常见的支持文件
经过多次测试,发现原来是上传的文件里面内容为空,所以才会fail所以只要改下,文件大小大于0KB就ok了,downloadFile就能success uni.openDocument 微信小程序使用wx.openDocument打开文件时报fail filetype not supported 参数fileType 文件类型,指定文件类型打开文件,有效值 doc, xls, ppt, pdf, docx, xlsx, pptx,支付宝小程...
fileTypestringnoFile type, specify file type to open the file1.4.0 successfunctionnoInterface calls the successful callback function failfunctionnoInterface calls failed callback functions completefunctionnoCallback function at the end of an interface call (both successful and unsuccessful calls are execut...
FileTypeFailToSetFileTypes Field FileTypeMultiCheckoutDisabled Field FileTypeMultiCheckoutEnabled Field FileTypes Field FilterAllExecutables Field FolderDiffAllFilesUpToDate Field FolderDiffColumnHeaderDifferent Field FolderDiffColumnHeaderLatest Field FolderDiffColumnHeaderLocalItems Field FolderDiffColumnHeaderPending...
failfunction否 接口调用失败的回调函数 1.85.0 completefunction否 接口调用结束的回调函数(调用成功、失败都会执行) 1.85.0 fileType 的合法值 值说明最低支持版本 doc 文件类型,指定文件类型打开文件 1.85.0 docx 文件类型,指定文件类型打开文件 1.85.0