Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 146ac3d

Browse files
(zh-CN): fix markdown syntax error (#30)
* (zh-CN): fix markdown syntax error * Update api.md Co-authored-by: Jinjiang <[email protected]>
1 parent 840afeb commit 146ac3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ sidebarDepth: 2
143143

144144
- **`this`的用法**
145145

146-
**`this``setup()` 中不可用**由于 `setup()` 在解析 2.x 选项前被调用,`setup()` 中的 `this` 将与 2.x 选项中的 `this` 完全不同。同时在 `setup()` 和 2.x 选项中使用 `this` 时将造成混乱。在 `setup()` 中避免这种情况的另一个原因是:这对于初学者来说,混淆这两种情况的 `this` 是非常常见的错误:
146+
**`this``setup()` 中不可用**由于 `setup()` 在解析 2.x 选项前被调用,`setup()` 中的 `this` 将与 2.x 选项中的 `this` 完全不同。同时在 `setup()` 和 2.x 选项中使用 `this` 时将造成混乱。在 `setup()` 中避免这种情况的另一个原因是:这对于初学者来说,混淆这两种情况的 `this` 是非常常见的错误:
147147

148148
```js
149149
setup() {

0 commit comments

Comments
 (0)