diff --git a/src/guide/migration/attribute-coercion.md b/src/guide/migration/attribute-coercion.md index cd1d169534..a2800190f9 100644 --- a/src/guide/migration/attribute-coercion.md +++ b/src/guide/migration/attribute-coercion.md @@ -60,16 +60,16 @@ The following table describes the new behavior: | Binding expression | `foo` normal | `draggable` enumerated | | ------------------- | -------------------------- | --------------------------------- | -| `:attr="null"` | / | / | +| `:attr="null"` | / | / * | | `:attr="undefined"` | / | / | | `:attr="true"` | `foo="true"` | `draggable="true"` | -| `:attr="false"` | `foo="false"` | `draggable="false"` | -| `:attr="0"` | `foo="0"` | `draggable="0"` | -| `attr=""` | `foo=""` | `draggable=""` | -| `attr="foo"` | `foo="foo"` | `draggable="foo"` | -| `attr` | `foo=""` | `draggable=""` | +| `:attr="false"` | `foo="false"` * | `draggable="false"` | +| `:attr="0"` | `foo="0"` | `draggable="0"` * | +| `attr=""` | `foo=""` | `draggable=""` * | +| `attr="foo"` | `foo="foo"` | `draggable="foo"` * | +| `attr` | `foo=""` | `draggable=""` * | -†: changed +*: changed Coercion for boolean attributes is left untouched. diff --git a/src/guide/migration/custom-directives.md b/src/guide/migration/custom-directives.md index e6a2b32182..fbcb80f072 100644 --- a/src/guide/migration/custom-directives.md +++ b/src/guide/migration/custom-directives.md @@ -100,5 +100,5 @@ mounted(el, binding, vnode) { ``` :::warning -With [fragments](/guide/migration/fragments.html#overview) support, components can potentially have more than one root node. When applied to a multi-root component, a directive will be ignored and a warning will be logged. +With [fragments](/guide/migration/fragments.html#overview) support, components can potentially have more than one root node. When applied to a multi-root component, a custom directive will be ignored and a warning will be logged. :::