@afeefa/vue-app 0.0.183 → 0.0.184
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.184
|
package/package.json
CHANGED
package/src/components/ATabs.vue
CHANGED
@@ -49,7 +49,8 @@ export default class ATabs extends Vue {
|
|
49
49
|
|
50
50
|
setTab (index) {
|
51
51
|
this.currentIndex = index
|
52
|
-
this.$
|
52
|
+
const tabs = this.$slots.default.map(s => s.componentInstance)
|
53
|
+
tabs.forEach((tab, i) => {
|
53
54
|
if (i === this.currentIndex) {
|
54
55
|
tab.show()
|
55
56
|
} else {
|
@@ -92,7 +93,7 @@ export default class ATabs extends Vue {
|
|
92
93
|
}
|
93
94
|
|
94
95
|
&.selected {
|
95
|
-
background: #
|
96
|
+
background: #EEEEEE;
|
96
97
|
color: #666666;
|
97
98
|
}
|
98
99
|
}
|