版本1
This commit is contained in:
@@ -64,7 +64,7 @@ export default {
|
||||
// 接收欢迎语
|
||||
connection.on('welcome', (data) => {
|
||||
console.log('welcome', data)
|
||||
// Notification.info(data)
|
||||
// Notification.info(data)
|
||||
})
|
||||
// 接收后台手动推送消息
|
||||
connection.on('receiveNotice', (title, data) => {
|
||||
@@ -83,6 +83,11 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
//接受缓存
|
||||
connection.on('GetCache', (checkid, sum) => {
|
||||
store.dispatch('socket/GetCache', {checkid,sum})
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user