docs: ✏️ textarea组件的maxlength属性类型错误#502
Conversation
✅ Deploy Preview for wot-design-uni ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Walkthrough此次更改主要集中在组件文档中 Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- docs/component/textarea.md (1 hunks)
- src/uni_modules/wot-design-uni/components/wd-textarea/types.ts (1 hunks)
Additional comments not posted (2)
src/uni_modules/wot-design-uni/components/wd-textarea/types.ts (1)
63-66: 更改maxlength属性类型为number将
maxlength属性的类型从string更改为number是合理的,因为maxlength应该表示最大输入长度,这是一个数值。docs/component/textarea.md (1)
132-132: 更改文档中maxlength属性类型为number将文档中
maxlength属性的类型从string更改为number是合理的,因为maxlength应该表示最大输入长度,这是一个数值。
🤔 这个 PR 的性质是?(至少选择一个)
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
Summary by CodeRabbit
maxlength属性的类型声明,从string更改为number,以增强类型安全性并提高文档的清晰性。maxlength属性的使用方式和限制条件。