Skip to content

前端dict组件导致内存溢出问题 #8101

Open
@xlh12306

Description

@xlh12306
版本号:

3.7.4

问题描述:

用户管理页面点击编辑时,其中会触发sys/dict/getDictItems/{dictCode}接口,此接口未直接传递过滤参数到后端,导致会将dict对应表中的数据全部查出,当表中数据量大时,会导致内存溢出或者泄露,建议根据每一行具体的KEY去请求或者有默认无过滤的查询条数--新增同理会出现全部查询的情况

错误截图:

Image

Image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions