处理key值绑定不唯一问题
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | @tab-remove="tabRemove" | 8 | @tab-remove="tabRemove" |
9 | > | 9 | > |
10 | <el-tab-pane | 10 | <el-tab-pane |
11 | :key="index" | 11 | :key="index+'only'" |
12 | v-for="(item, index) in openTab" | 12 | v-for="(item, index) in openTab" |
13 | :label="item.name" | 13 | :label="item.name" |
14 | :name="item.route" | 14 | :name="item.route" | ... | ... |
-
Please register or sign in to post a comment