Explorar o código

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

杨奕 %!s(int64=8) %!d(string=hai) anos
pai
achega
41c55ed596
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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"