Browse Source

Tag: fix a doc issue, fixed #2611 (#2613)

杨奕 8 năm trước cách đây
mục cha
commit
41c55ed596
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  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"