移动端开发
Blue_Keroro
这个作者很懒,什么都没留下…
展开
-
关于学习react-redux的参考文档
跟着例子一步步学习redux+react-redux Redux 中文文档转载 2018-10-05 18:59:45 · 385 阅读 · 0 评论 -
【React Native开发】关于fetch方法设置cookie
一般来说,在网上随便搜一下,都会有文章说fetch方法默认是不携带cookie的,要想携带cookie,需要添加:credentials: 'include'例如:fetch(url, { method: 'POST', headers: { ... }, credentials: 'include'}).then( r...原创 2018-10-20 19:57:07 · 5022 阅读 · 1 评论 -
【React Native开发】关于UTC格式时间转换为时间戳的问题
问题背景:需要将UTC格式的时间字符串(形如2018-10-30T07:00:00+0000)转换为时间戳(形如1540882800)问题描述:var time=new Date("2018-10-30T07:00:00+0000");发现release(stop remote js debugging)模式下,在这一步就无法进行转换,此时time变量为NaN。而在debug...原创 2018-10-31 11:07:34 · 2153 阅读 · 0 评论