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

Conversation

satrong
Copy link
Contributor

@satrong satrong commented Feb 26, 2021

Description of Problem

resolveComponent(component)未找到返回的应该是传入的参数component而非undefined
源码: https://github.com/vuejs/vue-next/blob/82bf7ebf36833679f13039e5b0282eff2859e18f/packages/runtime-core/src/helpers/resolveAssets.ts#L20

@veaba
Copy link
Member

veaba commented Feb 27, 2021

@satrong Hi,感谢你的 PR,为了使文档同步,你可以为 英文版 发起一个PR 来修复该问题吗?这个 PR 将会在英文版更新后才能并入。

@satrong
Copy link
Contributor Author

satrong commented Mar 2, 2021

@veaba 英文版已经合并了

@veaba veaba merged commit ddfc337 into vuejs:master Mar 2, 2021
@satrong satrong deleted the patch-1 branch March 5, 2021 01:05
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