Skip to content

JEditableTable.vue卡顿原因之一buildProps #1177

Closed
@GordonHuangYong

Description

@GordonHuangYong
版本号:

2.2.0

问题描述:

JEditableTable.vue中, 修改表格任意的数据, 都会导致每个单元格都调用一次buildProps.
行*列越多, 调用越多,多次调用,性能下降.

截图&代码:

友情提示: 未按格式要求发帖,会直接删掉。

Activity

zhangdaiscott

zhangdaiscott commented on May 9, 2020

@zhangdaiscott
Member

已经计划重构行编辑组件

zhangdaiscott

zhangdaiscott commented on May 11, 2020

@zhangdaiscott
Member
GordonHuangYong

GordonHuangYong commented on May 11, 2020

@GordonHuangYong
Author

能否在当前版本, 解决这个问题,等不及重构 了.

zhangdaiscott

zhangdaiscott commented on May 14, 2020

@zhangdaiscott
Member

近期会出简单的方案,保持平滑升级

zhangdaiscott

zhangdaiscott commented on May 19, 2020

@zhangdaiscott
Member

覆盖这俩文件就可以了
src/utils/util.js
src/components/jeecg/JEditableTable.vue

Desktop.zip

GordonHuangYong

GordonHuangYong commented on May 25, 2020

@GordonHuangYong
Author

覆盖这俩文件就可以了
src/utils/util.js
src/components/jeecg/JEditableTable.vue

Desktop.zip

问题解决了一半, 编辑或点击行时,没问题了.
滚动时,还是会卡顿;
新增时,还是会卡顿

zhangdaiscott

zhangdaiscott commented on Jun 22, 2020

@zhangdaiscott
Member

新行编辑已经出炉,下个版本发布
http://doc.jeecg.com/1833764

liuwenfei-afk

liuwenfei-afk commented on Nov 15, 2021

@liuwenfei-afk

这个问题修复了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@GordonHuangYong@liuwenfei-afk

        Issue actions

          JEditableTable.vue卡顿原因之一buildProps · Issue #1177 · jeecgboot/JeecgBoot