How do I use the open and close events of Element-ui 's navigation NavMenu?

I want to use this close event. I don"t know how to use the specified sub-menu, when I click.

Jul.01,2021

bind ref= "menu" on el-menu, and call this.$refs.menu.close (index)


clipboard.png

in the method.
Menu