suk.bear
suk.bear
公司/组织/个人:公司 介绍:教学系统小程序
I also want to use ws, but I can't use it, because my SCF persistent connection will have problems, so I can only split it to poll WaitMessage through the...
I’ll fork a copy and make some adjustments.
I ran into the same problem and the loading callback didn't work either
> useEventSource Have you finished?
纯净版没有这个错误
https://github.com/sukbearai/dormitory-management-api/tree/main/client 我更新了
> Form 目前没有实现,有这么几个原因。 > > 1. 一个是因为 Sunmao 暂时在组件实现层面没有获取其他组件的 State 的办法。所以现在实现的 FormControl 也只有样式,没有暴露表单值。Chakra 的 Form 里是用一个 `watch` 方法实现的,但是比较 hack,而且会有其他问题,所以不推荐使用。 > 2. 还有一个问题是 Sunmao 目前没有办法限制一个组件的children的类型。Form的children理应是FormControl,但是Sunmao目前并不能限制这一点。 > > 因为这两个原因,现在实现Form组件的话不是很优雅,所以就没有实现。 > > 如果你只是想要一个办法收集各个表单项的值到一个组件上。你可以试试看...