gouzi

Results 15 comments of gouzi

` export type ButtonTypes = HTMLAttributes & Partial; ` 自定义组件的类型写成这样试试

![image](https://user-images.githubusercontent.com/50100966/108799922-a069d280-75cc-11eb-88aa-28221ce6b53d.png)

> 它对我很好,请尝试重新加载您的 IDE > > ![image](https://user-images.githubusercontent.com/46661044/223662252-7353b6b8-a2bb-48d9-94d1-d001ded9886a.png) because i add ```pnpm i -D @vue/runtime-core``` It worked for me

> 我也遇到了这个问题,使用pnpm运行时无法检测到自动引入的element-plus组件的类型,但是npm和yarn都可以做的。查询后有一种观点觉得比较正确,文章链接:[https://juejin.cn/post/7189812753366777915。但是他的解决方式对我当前的版本好像并没有效果,所以还是得用回yarn/npm](https://juejin.cn/post/7189812753366777915%E3%80%82%E4%BD%86%E6%98%AF%E4%BB%96%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E5%BC%8F%E5%AF%B9%E6%88%91%E5%BD%93%E5%89%8D%E7%9A%84%E7%89%88%E6%9C%AC%E5%A5%BD%E5%83%8F%E5%B9%B6%E6%B2%A1%E6%9C%89%E6%95%88%E6%9E%9C%EF%BC%8C%E6%89%80%E4%BB%A5%E8%BF%98%E6%98%AF%E5%BE%97%E7%94%A8%E5%9B%9Eyarn/npm) 你尝试安装了 ``` pnpm i -D @vue/runtime-core``` 了吗? 我是通过了重新安装修复这个问题的

https://github.com/little-snow-fox/react-native-wechat-lib/assets/50100966/8387d4e4-9688-45f6-b5db-723a6d15e8c6

![image](https://github.com/dohooo/react-native-reanimated-carousel/assets/50100966/6a9fcd35-b282-44e8-934e-911c006f1fd0) ```There are only four imgs ``` ![image](https://github.com/dohooo/react-native-reanimated-carousel/assets/50100966/f3713c82-5939-466f-9bde-db55aaff16e4) i try use press-swipe add agination , but ```current index``` It doesn't seem right

> > I'm facing **Aw, Snap!** error create a GitHub repo instead > > I think it's related to SSR problems on undefined `Window` or `Document` even if I import...

自定义`slot` 不好做 因为微信小程序不支持函数渲染