[Bug Report] The "visible" attribute of the dialog pop-up window is used as a parameter
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.5
### OS/Browsers version
92.0.902.67
### Vue version
2.6.14
### Reproduction Link
https://github.com/xiaoxiaohuayu/ele
### Steps to reproduce
"Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated:" dialogVisible "" probably means that the child component cannot modify the parent component's variables. How to solve it? And why it will be closed when it is reopened 。The gif picture in the link can see the specific operation
### What is Expected?
Click close in the upper left corner to call the return method of the footer or click close in the upper left corner without reporting an error
### What is actually happening?
Vue error: child component is not allowed to modify the parent component method
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.