注释掉app.vue中的socket

This commit is contained in:
D 2023-12-01 00:44:57 +08:00
parent d02df75165
commit a6372ba559

View File

@ -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')