Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
为倒计时组件添加时间单位标签
本次提交为 u-count-down.vue 组件添加了四个新的属性,允许用户自定义倒计时中不同时间单位的标签。新属性如下:
每个属性都是字符串类型,有一个默认值,与组件当前的行为相匹配。用户可以覆盖这些默认值,以显示其首选语言或格式的标签。
新属性在组件的模板中使用,替换了之前使用的硬编码标签。组件的行为和样式仍然与之前相同。
此更改应使组件更灵活,更易于在不同的上下文中使用。请审核并让我知道您是否有任何反馈或建议。