in vue-cli projects, the given ID is not recognized by DOM, due to poor operation.
so it is stuck here. The current code is as follows:
. The
tab option is generated from the data v-for loop, and the CSS3 I use defaults to the first of these styles with a background. The first set of data is also requested by default, which is shown below. Now the requirement is, click on any one of them, the corresponding tab style will be added, the previous style will be removed, and the data displayed will correspond to the corresponding tab, code of course. I intend to write it in methods. How to implement it? I can"t operate DOM,. A lot of things really hurt.