杨奕 пре 8 година
родитељ
комит
41c55ed596
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      examples/docs/en-US/tag.md
  2. 1 0
      examples/docs/zh-CN/tag.md

+ 1 - 0
examples/docs/en-US/tag.md

@@ -115,6 +115,7 @@ You can use the `close` event to add and remove tag dynamically.
 :::demo
 ```html
 <el-tag
+  :key="tag"
   v-for="tag in dynamicTags"
   :closable="true"
   :close-transition="false"

+ 1 - 0
examples/docs/zh-CN/tag.md

@@ -115,6 +115,7 @@
 :::demo
 ```html
 <el-tag
+  :key="tag"
   v-for="tag in dynamicTags"
   :closable="true"
   :close-transition="false"