wechat-miniprogram / wechat-miniprogram/api-typings
WebviewError 有误,和小程序文档不符
Open
@SgLy is already working on this.
Since Jun 13, 2025.
- Dominant language
- TypeScript
- Stars
- 803
- Forks
- 117
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
小程序文档 说的:
网页加载失败的时候触发此事件。e.detail = { url, fullUrl },其中 fullUrl 为加载失败时的完整 url
WebviewError 的类型是:
/**
* 网页加载失败的时候触发此事件。e.detail = { src }
*
* 最低基础库: 1.6.4
*/
type WebviewError = CustomEvent<{
src: string
}>
应该是搞错了
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.