Chang Wei

Results 13 issues of Chang Wei

## Description ### Related to - [ ] Components - [x] Demo - [ ] Docs - [ ] Typings ### Steps to reproduce #### Expected behavior It can work...

bug

First of all, thank you for your contribution! :-) 主要修复:当Model.alert的OK按钮的onPress为一个async function时,点击按钮后需要暂时将该按钮禁用,直到onPress函数的Promise被resolve后才能将OK按钮恢复为启用状态。另外,buttonStyle的生成逻辑也有问题,在这个PR顺带做了修复。 最后,我本地执行test:all和lint都出错,请问你们之前有遇到类似情况吗?是如何处理的呢? ![image](https://user-images.githubusercontent.com/11588555/185699771-9eed07a4-fe6a-4e9b-acb8-db770ab31d64.png) ![image](https://user-images.githubusercontent.com/11588555/185699829-c6a407e2-45d5-4aaf-a7ab-fc47e8c3a71d.png) Please makes sure that these checkboxes are checked before submitting your PR, thank you! * [x]...

feature: update IconDisplay component in Icon docs template, affix icon search input box to the top of page [[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)] ### 🤔 This is a ... - [...

update Echarts Documentation url

### What problem does this feature solve? 目前该项目有部分peer dependency的版本比较旧因此仍然依赖较早期的react 16||17,例如react-native-picker,大部分情况下这样没什么问题。但是我目前遇到Picker这个组件在expo和Android真机上可以正常工作,但是在iOS真机上显示后会闪退,我猜测可能是某些peer dependency的依赖未升级到最新版导致不兼容react 18 ### What does the proposed API look like? 希望能兼容react 18

use the correct way to set a new state if the new state contains a part of old state

众所周知目前PHP效率和命名规范太差,期待明哥推出一个minggePHP,拳打JAVA,脚踢C#,支持!!!~

The sample code at here: ```` const {data, error, isLoading} = useSWR(['passport/session/get'], () => get_session()) if (!isLoading && error == null) { console.log(data.user_id) } ```` ![image](https://github.com/vercel/swr/assets/11588555/51a5a641-216d-4d32-9deb-2eb743e7fbe5) In my opinion, I...

Str::random函数增强,使其可在指定字母数字组合内生成随机的字符串,第二参数$pool可输入string和array类型,$pool参数默认为空字符串。可平滑升级,不影响之前已使用该助手函数的应用。