taro 3 使用的是 react 18,而taro ui 2使用的是16版本,其实主要是 @types/react 版本不一致导致.更改taroui版本"taro-ui": "3.1.0-beta.4"