1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-09-13 00:50:40 +08:00
Files
2026-08-31 07:58:23 +08:00

36 lines
730 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 文件操作 API
## 概述
文件操作 API 用于保存文件、获取文件信息等。
## API 列表
### uni.saveFile
保存文件到本地。
**详细文档**https://uniapp.dcloud.net.cn/api/file/file.html#savefile
### uni.getFileInfo
获取文件信息。
**详细文档**https://uniapp.dcloud.net.cn/api/file/file.html#getfileinfo
### uni.getSavedFileList
获取已保存的文件列表。
**详细文档**https://uniapp.dcloud.net.cn/api/file/file.html#getsavedfilelist
### uni.removeSavedFile
删除已保存的文件。
**详细文档**https://uniapp.dcloud.net.cn/api/file/file.html#removesavedfile
## 参考资源
- [uni-app 文件文档](https://uniapp.dcloud.net.cn/api/file/file.html)