I used vue-cli and a set of front-end templates, and I introduced the template"s js files together in vue-cli "s index.html. The sidebar of the template is included in the parent component of the page as a component. But the menu element click event in the sidebar has no effect.
guess:
my side menu bar is traversed with v-for, whether it is due to dynamically generated nodes that are not bound to events.