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

fix: modify the error in the sample code. #206

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

wao3
Copy link
Contributor

@wao3 wao3 commented Oct 19, 2020

Description of Problem

guide/composition-api-introduction.md 中,抽取独立的组合函数部分,第一个 useUserRepositories.js 文件中多导入了 toRefs 函数,第二个 useRepositoryNameSearch.js 文件中多导入了 onMounted, watch, toRefs 函数,且少导入了 computed 函数。

Proposed Solution

修正导入的函数。

Additional Information

英文仓库没有这些问题,本次提交直接参考英文仓库进行修改的。

Copy link
Member

@veaba veaba left a comment

Choose a reason for hiding this comment

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

approve

@veaba veaba merged commit 7157f10 into vuejs:master Oct 19, 2020
@veaba
Copy link
Member

veaba commented Oct 19, 2020

感谢你的 PR,英文版有频繁变动,导致未能及时更新,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants