网站首页 站内搜索

搜索结果

查询Tags标签: enzyme,共有 1条记录
  • Enzyme dive() 和 shallow() 的区别

    ShallowWrapper API 中有两个易混的 .dive() 和 .shallow(),调用它们都会返回 ShallowWrapper,但他们在使用场景和执行过程中都有所区别。API 定义.dive([options]) => ShallowWrapperShallow render the one non-DOM child of the current wrapper, and return a wr…

    2020/10/15 14:03:44 人评论 次浏览
扫一扫关注最新编程教程