Browse Source

会议创建即提醒,增加一分钟

FANGLH 6 years ago
parent
commit
a95e98cb1f

+ 5 - 0
frontend/wechat-web/src/modules/hiPages/sendMeetting/SendMeet.js

@@ -245,6 +245,11 @@ class SendMeet extends Component {
                 this.state.meetPerson.push(node.userId)
                 this.state.meetPerson.push(node.userId)
             })
             })
         }
         }
+        if(this.state.earlyTime == 0){
+            this.setState({
+                earlyTime:1
+            })
+        }
         var noticeT = startT - this.state.earlyTime * 1000 * 60
         var noticeT = startT - this.state.earlyTime * 1000 * 60
         console.log('noticeT', noticeT)
         console.log('noticeT', noticeT)
         console.log('noticeT', new Date(noticeT))
         console.log('noticeT', new Date(noticeT))