- 发布:2021-11-02 17:41
- 更新:2022-04-06 17:03
- 阅读:323
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 10.15.3
HBuilderX类型: 正式
HBuilderX版本号: 3.2.12
手机系统: 全部
手机厂商: 华为
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
测试过的手机:
示例代码:
uni.removeSavedFile({ filePath: 'xxx' });
uni.removeSavedFile({ filePath: 'xxx' });
操作步骤:
uni.removeSavedFile({ filePath: 'xxx' });
uni.removeSavedFile({ filePath: 'xxx' });
预期结果:
能正常使用
能正常使用
实际结果:
17:39:57.862 TypeError: uni.removeSavedFile is not a function. (In 'uni.removeSavedFile({ filePath: "xxx" })', 'uni.removeSavedFile' is undefined) __ERROR
17:39:57.862 TypeError: uni.removeSavedFile is not a function. (In 'uni.removeSavedFile({ filePath: "xxx" })', 'uni.removeSavedFile' is undefined) __ERROR
bug描述:
TypeError: uni.removeSavedFile is not a function
4 个回复
genda_0927 (作者)
别人都没遇到过吗?难道是我打开方式不对?
a***@163.com
我也刚碰到,hbulder版本: 3.2.16.20211122,用的是vue3版本
genda_0927 (作者)
3.2.2 的时候还能用,之后的版本都用不了。官方也没回复,这个帖子挂了好长时间了都
DCloud_UNI_HT
HBuiderX 3.4.4+ 版本 已修复bug