lx
This commit is contained in:
@@ -161,7 +161,9 @@ export default {
|
||||
},
|
||||
websocketonmessage(msg) { // 数据接收
|
||||
this.partNumber = msg.data.split('|')[3]
|
||||
this.getscantable()
|
||||
this.partNumber = this.partNumber.slice(1)
|
||||
console.log()
|
||||
this.getscantable(this.partNumber, 3333)
|
||||
},
|
||||
websocketclose() { // 关闭
|
||||
console.log('WebSocket关闭')
|
||||
|
||||
Reference in New Issue
Block a user