Skip to content
New issue

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

fix: cannot read properties of undefined (reading 'animatedTime') #3045

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

2977938133
Copy link
Contributor

这个 PR 做了什么? (简要描述所做更改)
这个 PR 添加了对 inject 返回结果的空值判断,避免了 animatedTime、activeKey 读取错误。
这个 PR 是什么类型? (至少选择一个)

  • feat: 新特性提交
  • fix: bug 修复
  • docs: 文档改进
  • style: 组件样式/交互改进
  • type: 类型定义更新
  • perf: 性能、包体积优化
  • refactor: 代码重构、代码风格优化
  • test: 测试用例
  • chore(deps): 依赖升级
  • chore(demo): 演示代码改进
  • chore(locale): 国际化改进
  • chore: 其他改动(是关于什么的改动?)

这个 PR 涉及以下平台:

  • NutUI H5 @nutui/nutui
  • NutUI Taro @nutui/nutui-taro

这个 PR 是否已自测:

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.04%. Comparing base (81cc346) to head (e8613d1).
Report is 2 commits behind head on v4.

Additional details and impacted files
@@            Coverage Diff             @@
##               v4    #3045      +/-   ##
==========================================
+ Coverage   83.98%   84.04%   +0.06%     
==========================================
  Files         221      221              
  Lines       23121    23121              
  Branches     2486     2491       +5     
==========================================
+ Hits        19418    19432      +14     
+ Misses       3685     3671      -14     
  Partials       18       18              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eiinu eiinu merged commit 5c89604 into jd-opensource:v4 Apr 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants