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

countdown 格式化展示渲染为毫秒(1位)时显示异常 #2512

Closed
subordon opened this issue Aug 28, 2023 · 0 comments · Fixed by #2514
Closed

countdown 格式化展示渲染为毫秒(1位)时显示异常 #2512

subordon opened this issue Aug 28, 2023 · 0 comments · Fixed by #2514
Labels
bug good first issue Good for newcomers

Comments

@subordon
Copy link
Contributor

NutUI 包名

@nutui/nutui

NutUI 版本号

4.1.3

平台

h5, weapp

重现链接

https://nutui.jd.com/playground/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IHNob3dUb2FzdCB9IGZyb20gJ0BudXR1aS9udXR1aSdcbmltcG9ydCB7IERvbmdkb25nIH0gZnJvbSAnQG51dHVpL2ljb25zLXZ1ZSdcbmNvbnN0IHNob3cgPSAoKSA9PiB7XG4gIHNob3dUb2FzdC50ZXh0KCdIZWxsbywgTnV0VUkhJylcbn07XG48L3NjcmlwdD5cbjx0ZW1wbGF0ZT5cbiA8bnV0LWNvdW50ZG93biA6ZW5kVGltZT1cIkRhdGUubm93KCkgKyA2MCAqIDEwMDBcIiBmb3JtYXQ9XCJERCDlpKkgSEgg5pe2IG1tIOWIhiBzcyDnp5IgUyDmr6vnp5JcIiAvPlxuPC90ZW1wbGF0ZT4ifQ==

重现步骤

 <nut-countdown :endTime="Date.now() + 60 * 1000" format="DD 天 HH 时 mm 分 ss 秒 S 毫秒" />

期望的结果是什么?

00 天 00 时 00 分 00 秒 0 毫秒

实际的结果是什么?

00 天 00 时 00 分 00 秒 S 毫秒

环境信息

No response

其他补充信息

No response

@eiinu eiinu added bug good first issue Good for newcomers labels Aug 28, 2023
@eiinu eiinu linked a pull request Aug 28, 2023 that will close this issue
21 tasks
@eiinu eiinu closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants