Browse Source

注释掉初始化tcp连接的代码;

maziyang/feature-20251025172218-智能客服中台
宋杰 4 weeks ago
parent
commit
6345303249
  1. 28
      pages/home/home.vue

28
pages/home/home.vue

@ -373,21 +373,21 @@ export default {
uni.$on('visitorLoginSuccess', this.handleVisitorLoginSuccess) uni.$on('visitorLoginSuccess', this.handleVisitorLoginSuccess)
// TCP // TCP
this.$nextTick(() => {
console.log('页面渲染完成,开始自动连接TCP服务器...')
//
setTimeout(() => {
// TCPchannel 1
console.log('连接今日市场概览TCP(channel 1)...')
this.connectTcp()
// this.$nextTick(() => {
// console.log('TCP...')
// //
// setTimeout(() => {
// // TCPchannel 1
// console.log('TCPchannel 1...')
// this.connectTcp()
// TCPchannel 2
setTimeout(() => {
console.log('连接我的自选TCP(channel 2)...')
this.connectMyStocksTcp()
}, 500)
}, 1000)
})
// // TCPchannel 2
// setTimeout(() => {
// console.log('TCPchannel 2...')
// this.connectMyStocksTcp()
// }, 500)
// }, 1000)
// })
}, },
// //

Loading…
Cancel
Save