Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit d58fc55

Browse files
cyycyy
cyy
and
cyy
authored
fix:typos (#124)
Co-authored-by: cyy <cuiyuanyuan@shuidihuzhu.com>
1 parent 5b83fbb commit d58fc55

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/guide/class-and-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,4 @@ data() {
243243

244244
这样写只会渲染数组中最后一个被浏览器支持的值。在本例中,如果浏览器支持不带浏览器前缀的 flexbox,那么就只会渲染 `display: flex`
245245

246-
<small>**译者注 ** <a id="footnote-1"></a>[ 1] truthy 不是 `true`,详见 [MDN](https://cn.vuejs.org/v2/guide/computed.html) 的解释。</small>
246+
<small>**译者注** <a id="footnote-1"></a>[ 1] truthy 不是 `true`,详见 [MDN](https://cn.vuejs.org/v2/guide/computed.html) 的解释。</small>

src/guide/migration/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Vue.directive('highlight', {
4949
- **beforeUpdate**:<sup style="color:green">新的!</sup>这是在元素本身更新之前调用的,很像组件生命周期钩子
5050
- update → <sup style="color:red">移除!</sup>有太多的相似之处要更新,所以这是多余的,请改用 `updated`
5151
- componentUpdated → **updated**
52-
- **beforeUnmount ** <sup style="color:green">新的!</sup>与组件生命周期钩子类似,它将在卸载元素之前调用。
52+
- **beforeUnmount** <sup style="color:green">新的!</sup>与组件生命周期钩子类似,它将在卸载元素之前调用。
5353
- unbind -> **unmounted**
5454

5555
最终 API 如下:

src/guide/migration/custom-elements-interop.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ badges:
77

88
## 概览
99

10-
- **BREAKING:**自定义元素白名单现在在模板编译期间执行,应该通过编译器选项而不是运行时配置来配置。
11-
- **BREAKING:**特定 `is` prop 用法仅限于保留的 `<component>` 标记
12-
- **NEW:**有了新的 `v-is` 指令来支持 2.x 用例,其中在原生元素上使用了 `v-is` 来处理原生 HTML 解析限制。
10+
- **BREAKING:** 自定义元素白名单现在在模板编译期间执行,应该通过编译器选项而不是运行时配置来配置。
11+
- **BREAKING:** 特定 `is` prop 用法仅限于保留的 `<component>` 标记
12+
- **NEW:** 有了新的 `v-is` 指令来支持 2.x 用例,其中在原生元素上使用了 `v-is` 来处理原生 HTML 解析限制。
1313

1414
## 自主定制元素
1515

0 commit comments

Comments
 (0)