We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是第一次注册组件 打印出的dom如下 这是第二次注册的dom 打印的dom如下 第二次打印出rootComponent是第一注册component返回的实例,rootComponent实例没有更 第二次注册返回component的innerHTML预期应该为
<wx-view class="x-class x-badge"> <<wx-view class="x-badge-dot">100</<wx-view> </wx-view>
The text was updated successfully, but these errors were encountered:
如果是同样的路径且是使用 jest 的话,可能是触发了这个 jestjs/jest#5120,需要调下 jest.resetModules()。如果改变了路径还有问题,我这边没能复现,能否给下能直接复现问题的 demo?
jest.resetModules()
Sorry, something went wrong.
No branches or pull requests
这是第一次注册组件
![image](https://user-images.githubusercontent.com/53815055/67462776-c4cd3c00-f672-11e9-8b2c-ecf51d6b0c5c.png)
![image](https://user-images.githubusercontent.com/53815055/67462874-f47c4400-f672-11e9-94b8-cb21aadcb1ce.png)
![image](https://user-images.githubusercontent.com/53815055/67462922-08c04100-f673-11e9-9428-b937bc5a44aa.png)
![image](https://user-images.githubusercontent.com/53815055/67462954-14ac0300-f673-11e9-9c79-1174d1d3e2cd.png)
打印出的dom如下
这是第二次注册的dom
打印的dom如下
第二次打印出rootComponent是第一注册component返回的实例,rootComponent实例没有更
第二次注册返回component的innerHTML预期应该为
The text was updated successfully, but these errors were encountered: