This commit is contained in:
parent
738c6b98a7
commit
b18b67b50a
|
|
@ -1446,11 +1446,11 @@ export default {
|
|||
this.webSocket = new WebSocket(
|
||||
this.idCardReaderForm.idCardReaderAddress,
|
||||
)
|
||||
|
||||
const _this = this
|
||||
this.webSocket.onopen = function (evt) {
|
||||
console.log('建立连接成功', evt)
|
||||
|
||||
this.webSocket.send(
|
||||
_this.webSocket.send(
|
||||
'{"module":"idcard","function":"beginreadcard","parameter":""}',
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue