From 170ea90de538e836fdc0222f939975e2313f3203 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Wed, 6 Nov 2019 15:22:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=A8=E5=8F=B7=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/common/call-phone.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/views/common/call-phone.php b/frontend/views/common/call-phone.php index 340f5c1..fd7ae17 100644 --- a/frontend/views/common/call-phone.php +++ b/frontend/views/common/call-phone.php @@ -119,7 +119,7 @@ use \common\libs\MyLib; } } else { // 浏览器不支持 WebSocket - alert("您的浏览器不支持 WebSocket!"); + parent.layer.msg("您的浏览器不支持 WebSocket!"); } } @@ -193,7 +193,7 @@ use \common\libs\MyLib; ws.send(val); console.log("数据已发送"); } else { - alert(obj.msg); + parent.layer.msg(obj.msg); } },'json');