comand-component-library 3.1.61 → 3.1.62

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "3.1.61",
3
+ "version": "3.1.62",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -9,9 +9,9 @@
9
9
  </li>
10
10
  </ul>
11
11
  <template v-if="useSlot">
12
- <div v-show="showTab === index" v-for="index in tabs.length" :key="index" aria-live="assertive">
12
+ <div v-show="showTab === index - 1" v-for="index in tabs.length" :key="index" aria-live="assertive">
13
13
  <!-- begin slot-content -->
14
- <slot :name="'tab-content-' + index"></slot>
14
+ <slot :name="'tab-content-' + (index - 1)"></slot>
15
15
  <!-- end slot-content -->
16
16
  </div>
17
17
  </template>