From 1b0528f7dcd27a70955dbb3905a00158034da7d9 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Thu, 13 Aug 2020 16:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E8=81=8A=E5=A4=A9=E6=98=AF?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/zhibo/index.nvue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index 031496c..457b445 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -454,6 +454,13 @@ export default { }, methods:{ sendMessage (messageType, content) {//发送消息 + if(!this.chatRoomService.status){ + uni.showToast({ + title: '连接聊天室中,请稍等', + duration: 2000 + }); + return + } console.log(this.room,this.room.id,messageType, content) if(content == "" && messageType == 0) return; var message = {