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.
2 parents 00b68f6 + bc81f2a commit f1da3b9Copy full SHA for f1da3b9
src/guide/components.md
@@ -984,15 +984,15 @@ components: {
984
name: 'unique-name-of-my-component'
985
```
986
987
-When you register a component globally using `Vue.component`, the global ID is automatically set as the component's `name` option.
+当你利用`Vue.component`全局注册了一个组件, 全局的ID作为组件的 `name` 选项,被自动设置.
988
989
``` js
990
Vue.component('unique-name-of-my-component', {
991
// ...
992
})
993
994
995
-If you're not careful, recursive components can also lead to infinite loops:
+如果你不谨慎, 递归组件可能导致死循环:
996
997
998
name: 'stack-overflow',
0 commit comments