vue组件互相调用时,提示Unknown custom element xxx - did you register the component correctly For recursive compon
问题描述:
在A组件中引用B组件,B组件又需要使用A组件.我们常常使用ref来命名这个组件的名称,但是通过this.refs.B组件时,会提示命名未注册.
解决方案:
在A组件中
vue组件互相调用时,提示Unknown custom element xxx - did you register the component correctly For recursive compon
问题描述:
在A组件中引用B组件,B组件又需要使用A组件.我们常常使用ref来命名这个组件的名称,但是通过this.refs.B组件时,会提示命名未注册.
解决方案:
在A组件中