1. Now add a variable in data to store the currently clicked element
2. For the code in the Template, remember to pass the type in the @click method
3. Click event: change the value of currentActive in data
4. Write .active style in style
The effect is as follows