Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140762

VUE:how to bind multiple tabs to one component and let it activates only one time?

$
0
0

I have those tabs to be created dynamically by results returned from spring boot. Lets's say, there are 3 tabs generated.

Now I bind one component to those generated tabs.

But, once I click on either one of those tabs, the component will be activated 3 times simultaneously.

Is there anyway I can do to activate the component only once when I click a tab?

please see the screen short

The component is fixed, so it is always activated 3 times no mater which tab I click.


Viewing all articles
Browse latest Browse all 140762

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>