报错:

[Vue warn]: Unknown custom element: <d01-person-thing> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

解决:

组件循环引用(两个组件同时引用另一个组件时)发生这个错误,在components中通过以下方式引用可以解决

components: {
      D01PersonThing : ()=>import(""@/components/D01PersonThing"),
    },

 

Logo

前往低代码交流专区

更多推荐