|
|
|
@ -396,7 +396,7 @@ export default { |
|
|
|
if (this.tcpConnected) { |
|
|
|
console.log('页面销毁,自动关闭主TCP连接') |
|
|
|
tcpConnection.disconnect({ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '1', |
|
|
|
charsetname: 'UTF-8' |
|
|
|
@ -408,7 +408,7 @@ export default { |
|
|
|
if (this.myStocksTcpConnected) { |
|
|
|
console.log('页面销毁,自动关闭我的自选TCP连接') |
|
|
|
tcpConnection.disconnect({ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '2', |
|
|
|
charsetname: 'UTF-8' |
|
|
|
@ -779,7 +779,7 @@ export default { |
|
|
|
// console.log('执行TCP连接...') |
|
|
|
tcpConnection.connect( |
|
|
|
{ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '1', // 可选 1~20 |
|
|
|
charsetname: 'UTF-8' // 默认UTF-8,可选GBK |
|
|
|
@ -792,7 +792,7 @@ export default { |
|
|
|
// console.log('断开TCP连接...') |
|
|
|
tcpConnection.disconnect( |
|
|
|
{ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '1', // 可选 1~20 |
|
|
|
charsetname: 'UTF-8' // 默认UTF-8,可选GBK |
|
|
|
@ -824,7 +824,7 @@ export default { |
|
|
|
console.log('执行我的自选TCP连接...') |
|
|
|
tcpConnection.connect( |
|
|
|
{ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '2', // 我的自选使用channel 2 |
|
|
|
charsetname: 'UTF-8' // 默认UTF-8,可选GBK |
|
|
|
@ -837,7 +837,7 @@ export default { |
|
|
|
console.log('断开我的自选TCP连接...') |
|
|
|
tcpConnection.disconnect( |
|
|
|
{ |
|
|
|
ip: '192.168.1.9', |
|
|
|
ip: '39.102.136.61:8088', |
|
|
|
port: '8080', |
|
|
|
channel: '2', // 我的自选使用channel 2 |
|
|
|
charsetname: 'UTF-8' // 默认UTF-8,可选GBK |
|
|
|
|