This topic created in 2079 days ago, the information mentioned may be changed or developed.
3 replies 2020-09-08 10:17:36 +08:00  | | 1 qwertty01 Sep 8, 2020 我想了一下,订阅了 websocket 之后,异步返回,所以不能实时刷新 |
 | | 2 BingoXuan Sep 8, 2020 不是有一个 onMessage 的 api 吗?按道理把更新页面的函数扔进去就好了。我写纯 js 也是把页面更新的 callback 放到 ws 的 onMessage 内 |