Commit 8c06ed3505ff7e03356415c392f9c47c3777da4b

Authored by vking
1 parent 5e08672f

chatbot & qiang

Showing 1 changed file with 4 additions and 1 deletions
@@ -20,7 +20,10 @@ Page({ @@ -20,7 +20,10 @@ Page({
20 //return; 20 //return;
21 chat.send('人工服务') 21 chat.send('人工服务')
22 setTimeout(()=>{ 22 setTimeout(()=>{
23 - chat.send(this.getMsg()) 23 + let msg=this.getMsg()
  24 + if(msg){
  25 + chat.send()
  26 + }
24 },300) 27 },300)
25 }, 28 },
26 29