uni.getFileSystemManager().readFile
时间: 2024-04-23 20:28:39 浏览: 284
uni.getFileSystemManager().readFile是uniapp提供的一个方法,用于读取文件内容。它接受一个对象作为参数,其中包括filePath、encoding和success等属性。filePath表示文件路径,encoding表示转码类型,success是一个回调函数,用于处理读取文件成功后的操作。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *3* [uniapp-微信小程序-图片转base64](https://blog.csdn.net/qq_38800316/article/details/124905299)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [uniapp开发微信小程序本地图片path转base64方案总结](https://blog.csdn.net/qq_34917408/article/details/127730238)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文