bayi 2 년 전
부모
커밋
c906f1e700
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      pages/chat/index.js

+ 5 - 1
pages/chat/index.js

@@ -7,7 +7,11 @@ Page({
   onLoad(options) {
 
   },
-  sendReply() {},
+  sendReply() {
+    if (!this.data.value) {
+      return
+    }
+  },
   bindKeyInput(e) {
     this.setData({
       value: e.detail.value