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(calendar): 修正 demo 默认文案显示条件 #2539

Merged
merged 1 commit into from
Sep 4, 2023
Merged

fix(calendar): 修正 demo 默认文案显示条件 #2539

merged 1 commit into from
Sep 4, 2023

Conversation

iCheng
Copy link
Contributor

@iCheng iCheng commented Sep 4, 2023

这个 PR 做了什么? (简要描述所做更改)
1 存在的问题:
demo 示例中,如果日期区间的数据为空数组,文案会显示'undefined至undefined',略不美观.
2 调整:
三元表达式的条件改为 data.length ,数组为空时展示默认文案
这个 PR 是什么类型? (至少选择一个)

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 代码重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

这个 PR 涉及以下平台:

  • NutUI 4.0 H5
  • NutUI 4.0 小程序
  • NutUI 3.0 H5
  • NutUI 3.0 小程序

这个 PR 是否已自测:

@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (491c77d) 84.78% compared to head (239c53f) 84.78%.

Additional details and impacted files
@@           Coverage Diff           @@
##               v4    #2539   +/-   ##
=======================================
  Coverage   84.78%   84.78%           
=======================================
  Files         149      149           
  Lines       20446    20446           
  Branches     2278     2279    +1     
=======================================
  Hits        17335    17335           
  Misses       3106     3106           
  Partials        5        5           

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

@eiinu eiinu merged commit 893d891 into jdf2e:v4 Sep 4, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants