Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用vue-virtual-scroll-list@2.3.4 数据懒加载,数据增加后,新数据没有渲染出来? #399

Closed
Create-Peace opened this issue Jan 7, 2023 · 0 comments
Labels

Comments

@Create-Peace
Copy link

Describe

使用vue-virtual-scroll-list@2.3.4 渲染一个复杂的table-body,现在是首次加载能够正常的渲染,但是滑动加载,第二次数据已经变化,dataSources.length已经确定变化了,但是新增的数据就是没有渲染到页面中。还是原来的30条数据。

To Reproduce

Steps to reproduce the behavior:

 <virtual-wrap
          class="bi-table__body"
          cellspacing="0"
          cellpadding="0"
          border="0"
          data-key="data-key"
          root-tag="table"
          wrap-tag="tbody"
          headerTag="colgroup"
          ref-name="virtual"
          item-tag="tr"
          preloadSize={40}
          data-sources={this.data}
          wrapClass="table-tbody"
          data-component={this.dataComponent}
        >

Other

  • Version [2.3.4]
  • Browser [echrome,]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant