Resolved the problem of the web socket page’s chat record can’t update
in time.
Changed the app.js construction