240 发简信
IP属地:湖南
  • Ant Design Pro 通过Unicode引入阿里巴巴图标库的坑

    在根据Ant Design Pro文档按照Unicode引入业务图标时,根据文档发现一直出现问号无效图标。最终代码如下: url里面一定需要带上...

  • 2018-09-03 Warning: setState(...): Can only update a mounted or mounting component.

    出现的原因是组件卸载之后调用了setState({}),网络请求耗时时间长,直接返回了某个页面。 异步请求返回结果之后判断再setState

  • 2018-08-29 RN组件的生命周期

    挂载 constructor componentWillMount componentWillMount() render 检查 this.pr...

  • 上拉加载更多及下拉刷新(Flatlist、SectionList)

    思路 sectionList及FlatList都有属性refreshControl、onEndReachedThreshold(距离底部还有多远...

  • react-native-video(Cannot remove an observer <RCTVideo 0x123e3f990> for the key path "readyForDis...

    描述: 切换播放源的时候报错:Exception thrown while executing UI block: Cannot remove ...