uni.getSavedFileList({
success: function (res) {
if (res.fileList.length > 0) {
uni.removeSavedFile({
filePath: res.fileList[0].filePath,
complete: function (res) {
console.log(res);
}
});
}
}
});
使用官方示例放回结果
{
"errMsg": "removeSavedFile:fail 执行出错",
"errCode": 10,
"code": 10
}
0 个回复