소스 검색

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

杨奕 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"