Commit dac974fc authored by 李腾's avatar 李腾

feat: 调试websocket接收信息

parent 2c4e2538
......@@ -67,6 +67,7 @@ const BasicLayout = props => {
console.log('wesocket连接成功');
});
socket.event.on('message', msg => {
console.log(msg);
dispatch({
type: 'messageReminder/setUnReadData',
payload: [JSON.parse(msg.data)],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment