Skip to content

fix: 子应用使用 getElementById args为Object时报错,应返回null; - #639

Open
weishenai wants to merge 1 commit into
Tencent:masterfrom
weishenai:feat-getElementById
Open

weishenai wants to merge 1 commit into
Tencent:masterfrom
weishenai:feat-getElementById

Conversation

@weishenai

Copy link
Copy Markdown
  • 提交符合commit规范
  • 文档更改
  • 测试用例添加
  • npm run test通过
详细描述

在实际时,用到了brytunm 组件,在创建组件时会有 getElementById args为HTMlLElement 的情况,原生api会返回null,而由wujie 处理后并没有处理args为Object 的情况。

@yiludege yiludege added invalid This doesn't seem right duplicate This issue or pull request already exists labels Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants