Vue3使用element-plus的el-table组件报错关键字‘emitsOptions‘和‘insertBefore‘

最近用vue3在做一个项目的时候,使用了element-plus中的组件el-table,在本地运行的时候一点错误也没有,但是打包后放到线上环境就开始报错。TypeError: Cannot read properties of null (reading 'insertBefore')和TypeError: Cannot read properties of null (reading 'emitsOptions')

查阅资料可知这种报错可能存在三种情况

我这里是对 不存在的字段做了 toString()操作。