从firebase存储中加载图片非常缓慢,它比我的网页上显示的图片多于2sec。有没有什么办法让图像加载成功?当给世界读取访问权时它会播种吗?Like:allow read: if true? 请指导我,从firebase存储上传和下载图片的最佳方式是什么?谢谢。 以下是我的存储规则: service firebase.storage {
match /b/test-project-fa
我一直在探索这个firebase存储图像上传shenanigan。我卡住了。我如何去显示上传进度?我刚刚意识到使用状态不是可行的方式,因为我会一遍又一遍地调用setState。想法你会吗? 我想我需要某种递归函数,但是我在哪里调用它?我不能称之为承诺的内部吗? // You'll need to set the rules to allow un-authed uploading however.