take iView"s navigation menu as an example.
Click new users / active users, and the active properties of the buttons will be switched rather than overlaid at random.
in this secondary menu of user management options, only one button can be active.
this is a simple effect in JQuery, but I"m not very good at it. How can I do an operation like Vue,?
I have this guess:
can emit a signal to the parent and let the parent handle the sequence problem of active.
but how do you let the parent know which button the user clicked?