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

fix:typos #124

Merged
merged 2 commits into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/guide/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ data() {

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

<small>**译者注 ** <a id="footnote-1"></a>[ 1] truthy 不是 `true`,详见 [MDN](https://cn.vuejs.org/v2/guide/computed.html) 的解释。</small>
<small>**译者注** <a id="footnote-1"></a>[ 1] truthy 不是 `true`,详见 [MDN](https://cn.vuejs.org/v2/guide/computed.html) 的解释。</small>
2 changes: 1 addition & 1 deletion src/guide/migration/custom-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Vue.directive('highlight', {
- **beforeUpdate**:<sup style="color:green">新的!</sup>这是在元素本身更新之前调用的,很像组件生命周期钩子
- update → <sup style="color:red">移除!</sup>有太多的相似之处要更新,所以这是多余的,请改用 `updated`
- componentUpdated → **updated**
- **beforeUnmount ** <sup style="color:green">新的!</sup>与组件生命周期钩子类似,它将在卸载元素之前调用。
- **beforeUnmount** <sup style="color:green">新的!</sup>与组件生命周期钩子类似,它将在卸载元素之前调用。
- unbind -> **unmounted**

最终 API 如下:
Expand Down
6 changes: 3 additions & 3 deletions src/guide/migration/custom-elements-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ badges:

## 概览

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不应该有空格,因为是全角标点符号和中文之间

- **BREAKING:** 特定 `is` prop 用法仅限于保留的 `<component>` 标记
- **NEW:** 有了新的 `v-is` 指令来支持 2.x 用例,其中在原生元素上使用了 `v-is` 来处理原生 HTML 解析限制。

## 自主定制元素

Expand Down