element
element copied to clipboard
createelement() has been called outside of render function
Existing Component
是
Component Name
el-table
Description
vue2.6 是正常的, 升级到2.7后 就报标题的错误了
const columns = [ { label: '客服名称', prop: 'name', }, { label: '联系方式', render: (h: any, scope: { row: OrgCustomerService}) => { return h('span', null, scope.row.contactType === ContractType.Phone ? '电话客服' : '微信客服') } }, ]
duplicate of #21968
#21968
看了下, 好像不能解决我的问题。。老项目用的还是webpack。没办法升级vite的包 vue2的table 用render 函数封装了下,支持自定义columns,@vue/compositon-api 都是好的,升级到2.7不行了
我试了N次,2.8.2以上版本都不行,这个问题好诡异