huangxiaojing 4 yıl önce
ebeveyn
işleme
0569c2722f

+ 2 - 2
screenAndroid/WXdraw.js

@@ -54,7 +54,7 @@ function doConnect() {
 		wsss.send(ExexuteMove(JSON.stringify(bitRate), form.sn))
 	};
 	wsss.onclose = function (evt) {
-		console.log(evt.data);
+		console.log(evt);
 		$.confirm({
 			title: '提示',
 			text: '连接断开,是否准备重连?',
@@ -69,7 +69,7 @@ function doConnect() {
 		});
 	};
 	wsss.onerror = function (evt) {
-		console.log(evt.data);
+		console.log(evt);
 		$.confirm({
 			title: '提示',
 			text: '连接断开,是否准备重连?',

+ 2 - 0
screenAndroid/WXtrialInterface.html

@@ -229,6 +229,7 @@
 			ws.binaryType = 'arraybuffer';
 
 			ws.onclose = function (e) {
+				console.log(e);
 				$.confirm({
 					title: '提示',
 					text: '连接断开,是否准备重连?',
@@ -248,6 +249,7 @@
 			});
 
 			ws.addEventListener('error', function (event) {
+				console.log(event);
 				$.confirm({
 					title: '提示',
 					text: '连接失败,是否准备重连?',