Unknown custom element: <el-radio> - did you register the component correctly?For recursive componen
场景:在vue项目中用element-ui开发项目时出现这种情况,报错:[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.页面显示不出来,如下:原因:是因为我们没有注册组件导致的解决办法:在入口文件中注册即可,一般是main.jsimport {
原创
2021-09-29 16:38:29 ·
1856 阅读 ·
0 评论