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
特意寫了一篇博文,留給還在苦惱的你!!!