element icon indicating copy to clipboard operation
element copied to clipboard

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

Open lovepivix opened this issue 5 years ago • 7 comments

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’时报错

lovepivix avatar Mar 19 '20 06:03 lovepivix

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

aim-leo avatar Jul 03 '20 13:07 aim-leo

component 换成 div

aim-leo [email protected] 于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 .

lovepivix avatar Jul 04 '20 07:07 lovepivix

same question

hellodigua avatar Nov 02 '20 06:11 hellodigua

component换成div是管用的

hellodigua avatar Nov 02 '20 06:11 hellodigua

component 换成 div aim-leo [email protected] 于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 .

好使,但是这是啥原因?

JZLeung avatar Mar 29 '22 06:03 JZLeung

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

Susa3n avatar Mar 30 '22 13:03 Susa3n

已修复#20783

Meyond avatar Aug 12 '24 01:08 Meyond