美文网首页
cannot read property 'x' of unde

cannot read property 'x' of unde

作者: 众闻 | 来源:发表于2019-05-21 21:01 被阅读0次
    /*
    * @param  {string} dir    'x' || 'y'
    */
    updateIndex = (offset, dir, cb) => {
        if(offset === undefined || this.internals.offset === undefined){
        return;
    }
    const state = this.state
    let index = state.index
    const diff = offset[dir] - this.internals.offset[dir]
    
    image.png

    相关文章

      网友评论

          本文标题:cannot read property 'x' of unde

          本文链接:https://www.haomeiwen.com/subject/bgpszqtx.html