|
|
|
@ -312,7 +312,7 @@ use \common\libs\MyLib; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
// 浏览器不支持 WebSocket |
|
|
|
|
alert("您的浏览器不支持 WebSocket!"); |
|
|
|
|
parent.layer.msg("您的浏览器不支持 WebSocket!"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -382,7 +382,7 @@ use \common\libs\MyLib; |
|
|
|
|
ws.send(val); |
|
|
|
|
console.log("数据已发送"); |
|
|
|
|
} else { |
|
|
|
|
alert(obj.msg); |
|
|
|
|
parent.layer.msg(obj.msg); |
|
|
|
|
} |
|
|
|
|
},'json'); |
|
|
|
|
|
|
|
|
|