Browse Source

socket 优化

pull/3/head
yuan_yi 3 years ago
parent
commit
224bc45174
  1. 2
      code/VideoAccess-VCMP/web/client/src/layout/actions/webSocket.js

2
code/VideoAccess-VCMP/web/client/src/layout/actions/webSocket.js

@ -21,7 +21,7 @@ export function initWebSocket ({ ioUrl, token }) {
const socket = io(ioUrl, { const socket = io(ioUrl, {
query: { query: {
token: token token: token
} },
}); });
dispatch({ dispatch({
type: INIT_WEB_SOCKET, type: INIT_WEB_SOCKET,

Loading…
Cancel
Save