update
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
console.log(qr_websocket)
|
||||
console.log('打开');
|
||||
const ws = new WebSocket(`ws://${window.location.host}/ws/qr/?${qr_websocket.uuid}`)
|
||||
ws.onmessage = function (e) {
|
||||
console.log(e.data)
|
||||
}
|
||||
qr_websocket.websocket = ws
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user