Fix: Tabs
parent
1d65a3ac9c
commit
f02ba69afb
|
@ -17,7 +17,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div :id="tag + '-context'" class="tab-content">
|
<div :id="contentTag" class="tab-content">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,6 +50,9 @@ export default Vue.extend({
|
||||||
computed: {
|
computed: {
|
||||||
tag: function() {
|
tag: function() {
|
||||||
return "tabs-" + this.title;
|
return "tabs-" + this.title;
|
||||||
|
},
|
||||||
|
contentTag: function() {
|
||||||
|
return "tabs-" + this.title + "-content";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue