vue3项目更新了element-plus版本后,项目开始疯狂报警告:
Extraneous non-props attributes (ref_key) were passed to component but could not be automatically inherited because component renders fragment or text root nodes
原因是:只更新了 element版本,没有更新 vue版本,
解决办法: 更新vue3的版本:npm install vue --save
特意写了一篇博文,留给还在苦恼的你!!!