mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-31 23:11:41 +03:00
Fix: Tabs
This commit is contained in:
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…
x
Reference in New Issue
Block a user