ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[Bug Report] 动态组件遇到el-radio-group时报错 #19007

Open lovepivix opened 4 years ago

lovepivix commented 4 years ago

Element UI version

2.13.0

OS/Browsers version

win10 chrome 71.0.3578.98

Vue version

2.6.11

Reproduction Link

https://codepen.io/lovepivix/pen/XWbYwPj?editors=1111&__cf_chl_jschl_tk__=c17a6783333ec2b242a946c919c6364524577358-1584695202-0-AQRGvE6K_eDZzK2xx9E5CehDr6W_UJos77L1J3aaUL4JUKCTNrxpVmUK-DjW7rpitAeCXcLrdZp6VzJMo4nyc33GkkfnuijcS3qxO1z0IhN4M-GUV5NKn1R-ljV5TeilJ88_O-zK2s78046X5UqVrdq3Br7T73UlKCBzG6KrzfS8Ke3oN8NJQzBFlWVwC1ndmcoP4S4PnTF8ziRvLcYBs2H-H_Zbicn8mBYyAvd97CxLR98Fb87pSlZBKJKb2XSh41900M3lNDusgcd0eu3ydwYwNASfMZEnjir1JL_xICNxnoHjU0bqgZc5xu1JlshLYTcjFlyPMCr1eNSN7atofvLjJd_dxC2V1GN6XX5KlRIVR2ZzdX8r8d0FotZ9GvnJTQ

Steps to reproduce

问题发现于项目中,使用codepen重现,动态组件使用时,当is属性值变为‘el-radio-group’时 报错[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the 'name' option. 其他组件均可用

What is Expected?

不报错,像其他组件一样

What is actually happening?

动态组件is属性值变为‘el-radio-group’时报错

aim-leo commented 4 years ago

我遇到了同样的问题,有任何解决办法吗,element-ui已经没有人在维护了吗?

lovepivix commented 4 years ago

component 换成 div

aim-leo notifications@github.com 于2020年7月3日周五 下午9:45写道:

我遇到了同样的问题,有任何解决办法吗,element-ui已经没有人在维护了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/19007#issuecomment-653555993, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNAR4LKNSXU3PNNKP7IPFTRZXOHXANCNFSM4LPBZEKQ .

hellodigua commented 3 years ago

same question

hellodigua commented 3 years ago

component换成div是管用的

JZLeung commented 2 years ago

component 换成 div aim-leo notifications@github.com 于2020年7月3日周五 下午9:45写道: 我遇到了同样的问题,有任何解决办法吗,element-ui已经没有人在维护了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#19007 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNAR4LKNSXU3PNNKP7IPFTRZXOHXANCNFSM4LPBZEKQ .

好使,但是这是啥原因?

Susa3n commented 2 years ago

2022/3/30 目前还有这个bug,用div吧

Meyond commented 1 month ago

已修复#20783