Vue sub-component invokes another sub-component problem


tabsViewTagView

resolves to tagview tags when html parses.

tried using the < tab-view > < / tab-view > method, probably because it was not resolved. The tabsView component is called in the main component and is rendered through the tabs of the value passed by the component. Tabs is an array entered through the click event push. The initial value is empty. Through the vue-devtools display, there is no problem with the value of tabs. I hope you can point out the maze, or give your own direction to search. Thank you

Sep.25,2021

clipboard.png

Change

to < tag-view > < / tag-view >

try it

The problem of

is actually a problem of dynamic components. If you are incompetent, you still have to continue to learn. Finally, use < component: is= "TagView" > < / component > to achieve


. Do you know how to call the method of another subcomponent in a subcomponent?

Menu