Based on Vue, if you use < router-view > to load a vue component into a tab page, how to turn on scrolling beyond the content

the questions are as follows:

through < router-view >, load a vue component, < router-view > is placed in a tab panel, how to set to achieve if the tab page size is small, < router-view > has extra content, through the scroll bar to achieve, just like textarea effect, does the boss know how to do it?

Apr.14,2022

wrap the < router-view > in div, then set a height for the div, and overflow: auto

Menu