Skip to content

FEATURE: 能否升级一下 vxe-table,在4.10版本固定列的时候太卡 #5851

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

Closed
3 tasks done
Elm1992 opened this issue Apr 2, 2025 · 7 comments · Fixed by #5854
Closed
3 tasks done

FEATURE: 能否升级一下 vxe-table,在4.10版本固定列的时候太卡 #5851

Elm1992 opened this issue Apr 2, 2025 · 7 comments · Fixed by #5854

Comments

@Elm1992
Copy link
Contributor

Elm1992 commented Apr 2, 2025

Version

Vben Admin V5

Description

非常尴尬的是4.9和4.11以上版本都没问题,官网的demo 固定四五列也能复现,x-extends/vxe-table#2740 (comment)

Proposed Solution

能否升级到最新的版本,vxe-table 还是在新版本做了挺多优化的。

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@M69W
Copy link

M69W commented Apr 2, 2025

都做项目了吧,自行升级不会?

@Elm1992
Copy link
Contributor Author

Elm1992 commented Apr 2, 2025

@M69W 你跟我拿嘴在这杠不如直接去帮官方解决一下 issue
#5342
#5505

@M69W
Copy link

M69W commented Apr 2, 2025

没有这意思。这个插件在vben上只是引入使用
理论上出现使用插件相关问题都应当去这个插件的所在仓库提issue

@Elm1992
Copy link
Contributor Author

Elm1992 commented Apr 2, 2025

@M69W vxe-table 已经解决了,但是 vben 封装了 useVbenVxeGrid,包括一些样式计算和 vben form 的联动,导致它不敢随便升级怕对现有项目有影响,像是 bug 5505 应该和 vxe-table 已经没关系了。
当然我相信作者当时也没注意到 4.10 有点拉胯,但客观问题已经存在了。我已经自己封装 vxe-table 不用框架提供的了,但我希望之后的小伙伴能有一个良好的开发体验,毕竟 vben 封装的 table 是真好用,所以我提的 FEATURE。

@sosovia
Copy link

sosovia commented Apr 2, 2025

@Elm1992 怎么封装哈,有啥思路。想升级vxe-table。感觉好难哦。框架统应该会升级吧。不可能一直停留在这个版本吧。table很重要。

@Elm1992
Copy link
Contributor Author

Elm1992 commented Apr 2, 2025

@sosovia 只是把公共的抽离到hooks而已,没它弄得好,纯属咋方便咋来。
暂时不升级 vxe-table 那碰到固定列的需求只能拿组件库的 table 重写一遍了,虚拟滚动之类的也有些问题,vben 升级前如果产品有改动需求,那就不是加属性而是重构 table 了。
开源不易,开发者们辛苦了,有时间就把这个优先级提一提吧,毕竟后台管理最重要的除了 form 就是 table 了。

@mynetfan
Copy link
Collaborator

mynetfan commented Apr 2, 2025

vxeTable在4.10之后的版本DOM样式和结构发生了改变,需要适配。这个是在计划中,但尚无确切的时间表,也欢迎各位PR

@mynetfan mynetfan mentioned this issue Apr 2, 2025
16 tasks
@aonoa aonoa added the upstream label Apr 2, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants