[bug report] mount sub components multiple times
Open
component: table
need: repro
- 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
chrome 92.0.4515.131 (x86_64)
### Vue version
2.6.14
### Reproduction Link
https://codepen.io/pen/tour/welcome/start
### Steps to reproduce
当el-table-column有fixed属性时,column包裹的子组件会mounted2次并且不会destroy。(当有selection属性时,也会出现这个问题),例如:
alert会mounted 多次。
### What is Expected?
子组件mounted1次,或者mounted后还能执行destroy钩子函数
### What is actually happening?
子组件mounted多次,并且不会执行destroy钩子函数
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.