From c09bfce89f9787c14af5241086007a821cbe6374 Mon Sep 17 00:00:00 2001 From: liujinmai <15968396335@163.com> Date: Wed, 11 May 2022 13:13:26 +0000 Subject: [PATCH] !209 update docs/api/file/file.md. * update docs/api/file/file.md. --- docs/api/file/file.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/api/file/file.md b/docs/api/file/file.md index 300e20a24..172627a9a 100644 --- a/docs/api/file/file.md +++ b/docs/api/file/file.md @@ -7,7 +7,9 @@ |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |√|x|√|√|√|√|√|x|√| -**注意:saveFile 会把临时文件移动,因此调用成功后传入的 tempFilePath 将不可用。** +**注意:saveFile 会把临时文件移动,因此调用成功后传入的 tempFilePath 将不可用** + +> _微信小程序已停止维护[wx.saveFile(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.saveFile.html)接口,建议使用[FileSystemManager](https://uniapp.dcloud.io/api/file/getFileSystemManager.html)对象中的方法。_ **OBJECT 参数说明:** @@ -49,6 +51,8 @@ uni.chooseImage({ |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |√|x|√|√|√|√|√|x|√| +> _微信小程序已停止维护[wx.getSavedFileList(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.getSavedFileList.html)接口,建议使用[FileSystemManager](https://uniapp.dcloud.io/api/file/getFileSystemManager.html)对象中的方法。_ + **OBJECT 参数说明:** |参数名|类型|必填|说明| @@ -91,6 +95,9 @@ uni.getSavedFileList({ |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |√|x|√|√|√|x|√|x|√| +> _微信小程序已停止维护[wx.getSavedFileInfo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.getSavedFileInfo.html)接口,建议使用[FileSystemManager](https://uniapp.dcloud.io/api/file/getFileSystemManager.html)对象中的方法。_ + + **OBJECT 参数说明:** |参数名|类型|必填|说明| @@ -129,6 +136,8 @@ uni.getSavedFileInfo({ |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |√|x|√|√|√|√|√|x|√| +> _微信小程序已停止维护[wx.removeSavedFile(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.removeSavedFile.html)接口,建议使用[FileSystemManager](https://uniapp.dcloud.io/api/file/getFileSystemManager.html)对象中的方法。_ + **OBJECT 参数说明:** |参数名|类型|必填|说明| @@ -164,6 +173,8 @@ uni.getSavedFileList({ |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |√|√|√|√|√|√|√|x|√| +> _微信小程序已停止维护[wx.getFileInfo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.getFileInfo.html)接口,建议使用[FileSystemManager](https://uniapp.dcloud.io/api/file/getFileSystemManager.html)对象中的方法。_ + **OBJECT 参数说明:** |参数名|类型|默认值|必填|说明|平台差异说明| -- GitLab