We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948d98b commit 0c66fbcCopy full SHA for 0c66fbc
src/guide/transitions.md
@@ -618,7 +618,7 @@ new Vue({
618
619
可以这样使用,但是有一点需要注意:
620
621
-<p class="tip">当有**相同标签名**的元素切换时,需要通过 `key` 特性设置唯一的值来标记以让 Vue 区分它们,否则 Vue 为了效率只会替换相同标签内部的内容,即使在技术上没有必要。**给在 `<transition>` 组件中的多个元素设置 key 是一个更好的实践。**</p>
+<p class="tip">当有**相同标签名**的元素切换时,需要通过 `key` 特性设置唯一的值来标记以让 Vue 区分它们,否则 Vue 为了效率只会替换相同标签内部的内容。即使在技术上没有必要,**给在 `<transition>` 组件中的多个元素设置 key 是一个更好的实践。**</p>
622
623
示例:
624
0 commit comments