Closed qzsiniong closed 1 week ago
https://github.com/uni-helper/uni-typed/blob/d743dd0e087784ac8a87aa94e5a7aeff47a322b3/packages/uni-ui-types/src/uni-search-bar.ts#L4
https://github.com/uni-helper/uni-typed/blob/d743dd0e087784ac8a87aa94e5a7aeff47a322b3/packages/uni-ui-types/src/uni-search-bar.ts#L37
37行,uni-search-bar的onInput事件参数类型应该是string | number
// type _UniSearchBarOnInputEvent = _UniSearchBarBaseEvent; type _UniSearchBarOnInputEvent = _UniSearchBarValue;
https://uniapp.dcloud.net.cn/component/uniui/uni-search-bar.html#searchbar-events
谢谢你指出这个问题,我已经发布了 v1.0.0-beta.4,请尝试一下。🙏
如果这个项目帮到了你,请考虑 star 和赞助。万分感谢!🙏
https://github.com/uni-helper/uni-typed/blob/d743dd0e087784ac8a87aa94e5a7aeff47a322b3/packages/uni-ui-types/src/uni-search-bar.ts#L4
https://github.com/uni-helper/uni-typed/blob/d743dd0e087784ac8a87aa94e5a7aeff47a322b3/packages/uni-ui-types/src/uni-search-bar.ts#L37
37行,uni-search-bar的onInput事件参数类型应该是string | number
https://uniapp.dcloud.net.cn/component/uniui/uni-search-bar.html#searchbar-events