We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16311d1 commit 3f5e265Copy full SHA for 3f5e265
packages/tabs/src/tab-bar.vue
@@ -14,7 +14,6 @@
14
15
computed: {
16
barStyle: {
17
- cache: false,
18
get() {
19
if (!this.$parent.$refs.tabs) return {};
20
let style = {};
@@ -26,7 +25,7 @@
26
25
return str.toLowerCase().replace(/( |^)[a-z]/g, (L) => L.toUpperCase());
27
};
28
this.tabs.every((tab, index) => {
29
- let $el = arrayFind(this.$parent.$refs.tabs, t => t.id.replace('tab-', '') === tab.name);
+ let $el = arrayFind(this.$parent.$refs.tabs, t => t.id.replace('tab-', '') === tab.paneName);
30
if (!$el) { return false; }
31
32
if (!tab.active) {
0 commit comments