10000 docs(zh): fix wording by kiccer · Pull Request #1912 · vuejs/vue-test-utils · GitHub
[go: up one dir, main page]

Skip to content

docs(zh): fix wording #1912

New issue
8000

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
Nov 29, 2021
Merged
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
拼写问题修改
  • Loading branch information
kiccer authored Oct 14, 2021
commit 186d33daba6bc79a34065a9a473e994d5fd1bea5
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper/setSelected.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('setSelected demo', async () => {

- **注意:**

当你尝试通过 `option.element.selected = true; arentSelect.trigger('input')` 经由 `v-model` 向 state 设置值的时候,`v-model` 不会被触发。`v-model` 是被 `change` 事件触发的。
当你尝试通过 `option.element.selected = true; parentSelect.trigger('input')` 经由 `v-model` 向 state 设置值的时候,`v-model` 不会被触发。`v-model` 是被 `change` 事件触发的。

`option.setSelected()` 是接下来这段代码的别名。

Expand Down
0