Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Performance] [dialog] El-dialog组件内存泄漏 #21408

Description

@mustardoflife

Bug Type: Performance

Environment

  • Vue Version: 3.5.14
  • Element Plus Version: 2.9.1
  • Browser / OS: 137.0.7151.120
  • Build Tool: Vite

Reproduction

Related Component

  • el-dialog

Reproduction Link

Element Plus Playground

Steps to reproduce

在此问题进行尝试:https://github.com/element-plus/element-plus/issues/20284,更改了版本,在组件中添加了内容。多次操作组件显隐藏。

What is Expected?

内存-多次出现分离的元素

What is actually happening?

组件存在【分离元素】,每点击一次会多一次。可不断累加,似乎内容越复杂,出现的几率越高。

Additional comments

(empty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 Vue issueIssue caused by Vue. Can't do anything

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions