ElemeFE / ElemeFE/element

[Bug Report] destroy-on-close in el-dialog will invoke inner component's created method

Open
#18,957 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
chrome

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/duan1993/pen/eYNMdxZ

### Steps to reproduce
1. click "点击打开 Dialog" button, will alert(1)
2. click "X" button, will alert(1) again

### What is Expected?
when click "X" button, will not alert(1)

### What is actually happening?
when click "X" button, will alert(1)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.