mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-31 15:01:40 +03:00
Fix: Tabs
This commit is contained in:
parent
1d65a3ac9c
commit
f02ba69afb
@ -17,7 +17,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
<div :id="tag + '-context'" class="tab-content">
|
||||
<div :id="contentTag" class="tab-content">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
@ -50,6 +50,9 @@ export default Vue.extend({
|
||||
computed: {
|
||||
tag: function() {
|
||||
return "tabs-" + this.title;
|
||||
},
|
||||
contentTag: function() {
|
||||
return "tabs-" + this.title + "-content";
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user