src/views/system/tijian/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/system/tijian/index.vue
@@ -2028,9 +2028,9 @@ } } }; websocket.onclose = function () { alert("读卡器连接关闭"); }; // websocket.onclose = function () { // alert("读卡器连接关闭"); // }; websocket.onmessage = function (event) { var resultObj = JSON.parse(event.data); _this.form.cusName = resultObj.data.name; @@ -2122,9 +2122,9 @@ } } }; websocket.onclose = function () { alert("读卡器连接关闭"); }; // websocket.onclose = function () { // alert("读卡器连接关闭"); // }; websocket.onmessage = function (event) { var resultObj = JSON.parse(event.data); _this.form.cusName = resultObj.data.name;