Iveiw:Maximum call stack size exceeded

about why components used by iview in < route-view > cannot contain layout elements < Content > < / Content > or the console will report an error Maximum call stack size exceeded. For these layout tags element-ui, this problem does not exist at all. Why does iview have memory overflow?

the project is built through vue-cli.

the following figure is part of App.vue, using different components via routing.
clipboard.png

Content.vue, template. iview.
clipboard.png

.

clipboard.png

I would like to ask from what angle this question should be considered. It feels strange and strange. It is normal to use a component. I just added a html tag encapsulated by iview in the component, and this problem will occur in iview.

Mar.03,2021

this is a recursive component. Remove name: 'content'

.
Menu