Closed wtto00 closed 1 week ago
The changes introduce new types and an interface to the input component of the Uni App. Specifically, a new interface for nickname review details is created, along with associated event types and a function type for handling nickname review events. The input properties are updated to include a handler for these events, enhancing the component's functionality for nickname validation.
File Path | Change Summary |
---|---|
packages/uni-app-types/src/form-components/input.ts | - Added new interface _InputOnNicknamereviewDetail with pass and timeout properties. - Introduced type _InputOnNicknamereviewEvent as a CustomEvent . - Created type _InputOnNicknamereview as a function type for handling nickname review events. - Updated _InputProps to include onNicknamereview property of type _InputOnNicknamereview . |
In the garden of code, where the bunnies play,
New types hop in, brightening the day.
Nicknames reviewed with a flick of a paw,
Events now dance, oh what a grand law!
With properties added, our input's a treat,
Hopping along, making validation sweet! 🐰✨
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?
Name | Link |
---|---|
Latest commit | 061a8a3f6b796d38fc7896137f7591e549f1cc88 |
Latest deploy log | https://app.netlify.com/sites/uni-typed/deploys/6731c434d5c12c0008857b56 |
Deploy Preview | https://deploy-preview-24--uni-typed.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
``` pnpm add https://pkg.pr.new/@uni-helper/uni-app-types@24 ```
``` pnpm add https://pkg.pr.new/@uni-helper/uni-types@24 ```
``` pnpm add https://pkg.pr.new/@uni-helper/uni-app-components@24 ```
``` pnpm add https://pkg.pr.new/@uni-helper/uni-ui-types@24 ```
``` pnpm add https://pkg.pr.new/@uni-helper/uni-cloud-types@24 ```
commit: 061a8a3
Thank you!
Description 描述
当
input
的type
为nickname
时,有一个相对应的回调事件。uniapp的文档没有这个说明,微信的文档有说明这个事件。Linked Issues 关联的 Issues
Additional context 额外上下文
Summary by CodeRabbit