elemnet-ui 项目使用 vue-element-extends 报错 Unknown custom element: el-

在ElementUI项目中升级vxe-table到1.1版本后遇到未知自定义元素错误,<el-editable>和<el-editable-column>需要更改为<elx-editable>和<elx-editable-column>。问题源于1.1.x版本中组件名称变更,为解决此问题,可以提供正确的'名称'选项或自定义组件以兼容旧的name。
摘要由CSDN通过智能技术生成

ElemnetUI 项目在更新 vxe-table 1.1 版本时报错:

Unknown custom element: <el-editable> - did you register the component correctly? For recursive components, make sure to provide the “name” option.

Unknown custom element: <el-editable-column> - did you register the component correctly? For recursive components, make sure to provide the “name” option.

原因是 1.1.x 之后 name 改变了:
el-editable 改成了 elx-editable
el-editable-column 改成了 elx-editable-column

1.0.x 对应 el-editable

<el-editable ref="editable" :data.sync
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值