ue-json-schema-form 库配置无线电错误
最编程
2024-10-13 19:40:50
...
在 Vue 中使用 vue-json-schema-form 库来配置 radio报错,[Vue warn]: Failed to resolve component: a-radio-group
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
推断是没有识别出来radio,解决办法如下
引入:import { RadioGroup } from 'ant-design-vue';
app.component('a-radio-group', RadioGroup);