This repository was archived by the owner on Aug 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
- ** 非兼容** :自定义元素白名单现在在模板编译期间执行,应该通过编译器选项而不是运行时配置来配置。
11
11
- ** 非兼容** :特定 ` is ` prop 用法仅限于保留的 ` <component> ` 标记。
12
- - ** 新 ** :有了新的 ` v-is ` 指令来支持 2.x 用例,其中在原生元素上使用了 ` v-is ` 来处理原生 HTML 解析限制。
12
+ - ** 新增 ** :有了新的 ` v-is ` 指令来支持 2.x 用例,其中在原生元素上使用了 ` v-is ` 来处理原生 HTML 解析限制。
13
13
14
14
## 自主定制元素
15
15
Original file line number Diff line number Diff line change 7
7
8
8
## 概览
9
9
10
- - ** 新 ** :对于 ` v-if ` /` v-else ` /` v-else-if ` 的各分支项 ` key ` 将不再是必须的,因为现在 Vue 会自动生成唯一的 ` key ` 。
10
+ - ** 新增 ** :对于 ` v-if ` /` v-else ` /` v-else-if ` 的各分支项 ` key ` 将不再是必须的,因为现在 Vue 会自动生成唯一的 ` key ` 。
11
11
- ** 非兼容** :如果你手动提供 ` key ` ,那么每个分支必须使用唯一的 ` key ` 。你不能通过故意使用相同的 ` key ` 来强制重用分支。
12
12
- ** 非兼容** :` <template v-for> ` 的 ` key ` 应该设置在 ` <template> ` 标签上 (而不是设置在它的子节点上)。
13
13
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ badges:
14
14
- prop:` value ` -> ` modelValue ` ;
15
15
- event:` input ` -> ` update:modelValue ` ;
16
16
- ** 非兼容** :` v-bind ` 的 ` .sync ` 修饰符和组件的 ` model ` 选项已移除,可用 ` v-model ` 作为代替;
17
- - ** 新 ** :现在可以在同一个组件上使用多个 ` v-model ` 进行双向绑定;
18
- - ** 新 ** :现在可以自定义 ` v-model ` 修饰符。
17
+ - ** 新增 ** :现在可以在同一个组件上使用多个 ` v-model ` 进行双向绑定;
18
+ - ** 新增 ** :现在可以自定义 ` v-model ` 修饰符。
19
19
20
20
更多信息,请见下文。
21
21
You can’t perform that action at this time.
0 commit comments