[英]Is there any way to delete a folder of images from firebase storage
我试过这个:
methods: {
async deleteCard(mediaRef) {
// mediaRef is equal to reference of the images folder
await this.$fire.storage.ref('albums_cards').child(mediaRef).delete()
},
},
错误:
Firebase 存储:Object 'albums_cards/ 88b8f000-6dd0-11ed-9c2d-afa013ab0c4b ' 不存在。 (存储/未找到对象)
但正如您在图片中看到的那样,它存在。 我认为我使用的方法是删除特定文件,但我想删除文件夹。
有什么办法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.