Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
若
LOCATION_APIKEY
未设置,将导致 JS 直接抛出LOCATION_APIKEY is not defined
异常, 这里应该 Reject 以告知开发者此参数未配置。错误修复(Bugfix) issue: fix #
新功能(Feature)
代码重构(Refactor)
TypeScript 类型定义修改(Typings)
文档修改(Docs)
代码风格更新(Code style update)
其他,请描述(Other, please describe):
所有小程序
微信小程序
支付宝小程序
百度小程序
字节跳动小程序
QQ 轻应用
京东小程序
快应用平台(QuickApp)
Web 平台(H5)
移动端(React-Native)
鸿蒙(harmony)