2020-08-22 22:39:31 +00:00
|
|
|
import store from '@/store'
|
|
|
|
|
2020-04-21 20:20:19 +00:00
|
|
|
export const socket = io.connect(window.location.href)
|
2020-05-05 20:27:37 +00:00
|
|
|
|
2020-09-15 16:11:29 +00:00
|
|
|
socket.on('init_update', data => {
|
|
|
|
store.dispatch('setAboutInfo', data)
|
|
|
|
})
|