Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit ed8cb25

Browse files
committed
fix: #50
1 parent a02e8a1 commit ed8cb25

File tree

1 file changed

+2
-4
lines changed
  • packages/taro-ui-vue/src/components/tabs

1 file changed

+2
-4
lines changed

packages/taro-ui-vue/src/components/tabs/index.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
>
1515
<view
1616
v-for="(item, idx) in tabList"
17-
:id="`tab${idx}`"
18-
:key="item.title"
17+
:key="`tab${idx}`"
1918
:class="
2019
classNames({
2120
'at-tabs__item': true,
@@ -31,8 +30,7 @@
3130
<view v-else :id="this.tabId" class="at-tabs__header">
3231
<view
3332
v-for="(item, idx) in tabList"
34-
:id="`tab${idx}`"
35-
:key="item.title"
33+
:key="`tab${idx}`"
3634
:class="
3735
classNames({
3836
'at-tabs__item': true,

0 commit comments

Comments
 (0)