Vue 内置属性


Vue 有一组内置属性。

Attribute Description
is Refers to the current active dynamic component
key Gives a unique value to elements created with v-for
ref Gives a reference to an element in the template so that the element can be manipulated later in the script.