人脸识别
This commit is contained in:
@@ -132,7 +132,7 @@
|
|||||||
function websocketonmessage(e){ //数据接收
|
function websocketonmessage(e){ //数据接收
|
||||||
const redata = JSON.parse(e.data);
|
const redata = JSON.parse(e.data);
|
||||||
data = redata;
|
data = redata;
|
||||||
$("welderCode").value(data.jobNo)
|
$("welderCode").value = data.jobNo;
|
||||||
}
|
}
|
||||||
function websocketsend(Data){//数据发送
|
function websocketsend(Data){//数据发送
|
||||||
websock.send(Data);
|
websock.send(Data);
|
||||||
@@ -141,6 +141,6 @@
|
|||||||
console.log('断开连接', e);
|
console.log('断开连接', e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
initWebSocket();
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user