学无先后,达者为师

网站首页 编程语言 正文

Ant Design Pro在使用TreeSelect树选择组件时,报错未注册

作者:沉、睡 更新时间: 2022-02-02 编程语言

Ant Design Pro在使用树选择组件时,报错未注册

did you register the component correctly?

经过检查发现Ant Design Pro是按需引入的,需要在文件里引入自己需要的组件

import {
  ***,
  TreeSelect
} from 'ant-design-vue'
Vue.use(TreeSelect)

原文链接:https://blog.csdn.net/zz975896590/article/details/119991135

栏目分类
最近更新