Giter VIP home page Giter VIP logo

Comments (17)

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

怎么使用的,是不是全部数据都渲染了

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

就比如弄了三个页签切换页面,用v-show加载页面组件.然后点哪个页签切换哪个就很卡顿, 用v-show 因为有的时候数据量大了,就不想在加载了

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

有demo或者代码吗

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

demo.zip
就类似这个用的main.vue, 只要第一个表格滑动到底部或者操作过东西,在切换就特别卡

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

demo.zip 就类似这个用的main.vue, 只要第一个表格滑动到底部或者操作过东西,在切换就特别卡

已修复,el-table-virtual-scroll升级到1.0.17版本

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

感谢,但是我试了还是有点卡,就用那个demo 已经升级了 "el-table-virtual-scroll": "^1.0.17", 是有什么要配置的吗,就是第一页滑倒最底下,然后再切换这种

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

感谢,但是我试了还是有点卡,就用那个demo 已经升级了 "el-table-virtual-scroll": "^1.0.17", 是有什么要配置的吗,就是第一页滑倒最底下,然后再切换这种

不用配置,你确定一下是不是已经升级到1.0.17了,项目重新跑一下

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

image
淘宝镜像下的有关系吗

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

image 淘宝镜像下的有关系吗

image 我demo里面有个重定向的,你把这个配置却去掉重新跑看看

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

还是不好使, https://registry.npmmirror.com/el-table-virtual-scroll 这个是最新版本吗 https://registry.npmmirror.com/el-table-virtual-scroll/-/el-table-virtual-scroll-1.0.17.tgz, node_modules 删了重下的还是不行

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

还是不好使, https://registry.npmmirror.com/el-table-virtual-scroll 这个是最新版本吗 https://registry.npmmirror.com/el-table-virtual-scroll/-/el-table-virtual-scroll-1.0.17.tgz, node_modules 删了重下的还是不行

https://xiaocheng555.github.io/el-table-virtual-scroll/#/VSelectionDemo?code=VSelectionDemo&codeTitle=%E5%A4%9A%E9%80%89

image

这个demo,你点击显示隐藏看看会不会卡顿,然后你在本地代码按这样写看会不会卡顿

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

本地这么写不会卡,你主要试试那个我的那个切换的demo就是从第一个滑动到底部 第二也滑到底部,然后互相切换就会卡

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

vtable.zip

你看看这个demo,我试了不会卡顿

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

本地这么写不会卡,你主要试试那个我的那个切换的demo就是从第一个滑动到底部 第二也滑到底部,然后互相切换就会卡

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

感谢你的一直回复, 是main.vue 是吧, 我试了还是会卡,是浏览器不一样吗 就是滑动完之后切换页签明显卡顿, 我用的浏览器edge 113.0.1774.50

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

感谢你的一直回复, 是main.vue 是吧, 我试了还是会卡,是浏览器不一样吗 就是滑动完之后切换页签明显卡顿, 我用的浏览器edge 113.0.1774.50

升级到 [email protected] 试试

from el-table-virtual-scroll.

godic7 avatar godic7 commented on July 22, 2024

可以了,强

from el-table-virtual-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.