mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-09-13 00:50:40 +08:00
36 lines
765 B
Markdown
36 lines
765 B
Markdown
# 文件操作 API
|
||
|
||
## 概述
|
||
|
||
文件操作 API 用于保存文件、获取文件信息等。
|
||
|
||
## API 列表
|
||
|
||
### uni.saveFile
|
||
|
||
保存文件到本地。
|
||
|
||
**详细文档**:https://doc.dcloud.net.cn/uni-app-x/api/file/file.html#savefile
|
||
|
||
### uni.getFileInfo
|
||
|
||
获取文件信息。
|
||
|
||
**详细文档**:https://doc.dcloud.net.cn/uni-app-x/api/file/file.html#getfileinfo
|
||
|
||
### uni.getSavedFileList
|
||
|
||
获取已保存的文件列表。
|
||
|
||
**详细文档**:https://doc.dcloud.net.cn/uni-app-x/api/file/file.html#getsavedfilelist
|
||
|
||
### uni.removeSavedFile
|
||
|
||
删除已保存的文件。
|
||
|
||
**详细文档**:https://doc.dcloud.net.cn/uni-app-x/api/file/file.html#removesavedfile
|
||
|
||
## 参考资源
|
||
|
||
- [uni-app 文件文档](https://doc.dcloud.net.cn/uni-app-x/api/file/file.html)
|