注释掉app.vue中的socket
This commit is contained in:
parent
d02df75165
commit
a6372ba559
@ -2,6 +2,7 @@
|
||||
export default {
|
||||
onLaunch: function () {
|
||||
console.log('App Launch')
|
||||
/*
|
||||
this.$socket.connect({ url: "ws://127.0.0.1:8080/sc" }).then(res => {
|
||||
console.log("success");
|
||||
this.$socket.onMessage(res => {
|
||||
@ -15,6 +16,7 @@ export default {
|
||||
})
|
||||
this.$socket.send({event:"on"})
|
||||
})
|
||||
*/
|
||||
},
|
||||
onShow: function () {
|
||||
console.log('App Show')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user