This commit is contained in:
BianLzhaoMin 2025-08-21 11:02:43 +08:00
parent 738c6b98a7
commit b18b67b50a
1 changed files with 2 additions and 2 deletions

View File

@ -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":""}',
)
}