Skip to content

fix Vue instance translate not correct #1074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2018
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 docs/zh/api/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ shallowMount(Component, {

- 类型:`Object`

为示例添加额外的属性。在伪造全局注入的时候有用。
为实例添加额外的属性。在伪造全局注入的时候有用。

示例:

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/isVueInstance.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## isVueInstance()

断言 `WrapperArray` 的每个 `Wrapper` 都是 Vue 示例
断言 `WrapperArray` 的每个 `Wrapper` 都是 Vue 实例

- **返回值:**`{boolean}`

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/setData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

为 `WrapperArray` 的每个 `Wrapper` `vm` 都设置数据。

**注意:该包裹器必须包含一个 Vue 示例。**
**注意:该包裹器必须包含一个 Vue 实例。**

- **参数:**
- `{Object} data`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/setMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

为 `WrapperArray` 的每个 `Wrapper` `vm` 都设置方法并强行更新。

**注意:该包裹器必须包含一个 Vue 示例。**
**注意:该包裹器必须包含一个 Vue 实例。**

- **参数:**
- `{Object} methods`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/setProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

为 `WrapperArray` 的每个 `Wrapper` `vm` 都设置 prop 并强行更新。

**注意:该包裹器必须包含一个 Vue 示例。**
**注意:该包裹器必须包含一个 Vue 实例。**

- **参数:**
- `{Object} props`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

为 `WrapperArray` 的每个 `Wrapper` DOM 节点都触发一个事件。

**注意:该包裹器必须包含一个 Vue 示例。**
**注意:该包裹器必须包含一个 Vue 实例。**

- **参数:**
- `{string} eventType` **必填**
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper/isVueInstance.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## isVueInstance()

断言 `Wrapper` 是 Vue 示例
断言 `Wrapper` 是 Vue 实例

- **返回值:**`{boolean}`

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper/name.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## name()

如果 `Wrapper` 包含一个 Vue 示例则返回组件名,否则返回 `Wrapper` DOM 节点的标签名。
如果 `Wrapper` 包含一个 Vue 实例则返回组件名,否则返回 `Wrapper` DOM 节点的标签名。

- **返回值:**`{string}`

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper/props.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

返回 `Wrapper` `vm` 的 props 对象。如果提供了 `key`,则返回这个 `key` 对应的值。

**注意:该包裹器必须包含一个 Vue 示例。**
**注意:该包裹器必须包含一个 Vue 实例。**

- **参数:**
- `{string} key` **可选的**
Expand Down