Skip to content

[Support] 使用sse返回的第一条数据会出现[object Object] #4174

Closed Answered by czy88840616
fkomorebi asked this question in Q&A
Discussion options

You must be logged in to vote

大概知道原因了,在第一次数据传输时,发送了一个{data: ' :ok'} 对象,这个逻辑参考了社区库的实现,有点问题,正确的应该拿到

: ok
data: test

data: test

才对

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@fkomorebi
Comment options

Comment options

You must be logged in to vote
1 reply
@fkomorebi
Comment options

Comment options

You must be logged in to vote
7 replies
@fkomorebi
Comment options

@czy88840616
Comment options

@fkomorebi
Comment options

@czy88840616
Comment options

Answer selected by fkomorebi
@czy88840616
Comment options

@fkomorebi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
3 participants