作者chopinmozart (aha)
看板Web_Design
标题[问题] firebase storage 回传的progress
时间Sat Nov 25 03:33:59 2017
想请问firebase 在上传档案後
回传function 的 progress 和 downloadURL 该如何处理比较好?
我用React 写App. 但不知道该如何处理这两个回传的资料
在function 内用setState 会出现error
请问有没有人能帮忙一下 感谢
https://i.imgur.com/CVv9i9B.jpg
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 107.138.6.67
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1511552041.A.9B0.html
1F:→ ninetyeight: arrow function 11/25 09:18
2F:→ dannypsnl: 万年问题,this规则 11/25 23:36
3F:→ chopinmozart: this.uploadFile = this.uploadFile.bind(this) 吗 11/26 01:09
4F:推 jake255121: 我都用 var me = this 11/26 03:53