Open sburnicki opened 7 years ago
When I generate tabs from a list like this:
<tabs nav-style="tabs" v-model="activeTab"> <tab v-for="(myTab) in myTabs" v-bind:header="myTab.name"> ...
Then I can add and remove new tabs. However, on removal (like this.myTabs.splice(0, 1)) the headers don't get properly updated.
this.myTabs.splice(0, 1)
I guess this is because they are explicitly added on created, but not being removed in beforeDestroy in the Tab component
created
beforeDestroy
Same error!
Same here.
I wrote a Pull Request, but i'm not sure this repository is still maintained :(
When I generate tabs from a list like this:
Then I can add and remove new tabs. However, on removal (like
this.myTabs.splice(0, 1)
) the headers don't get properly updated.I guess this is because they are explicitly added on
created
, but not being removed inbeforeDestroy
in the Tab component