This commit is contained in:
lixin
2018-11-29 14:25:40 +08:00
parent da9c1d7e2d
commit f04395cfb8
3 changed files with 14 additions and 10 deletions

View File

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