diff --git a/src/views/videoCommunication/realTimeConsultation.vue b/src/views/videoCommunication/realTimeConsultation.vue index 3fa0ab8..c57f1b2 100644 --- a/src/views/videoCommunication/realTimeConsultation.vue +++ b/src/views/videoCommunication/realTimeConsultation.vue @@ -616,14 +616,14 @@ export default { join() { const userID = this.userID; const roomID = this.roomID; - if (!userID) { - this.$message({ message: "用户名不能为空", type: "warning" }); - return; - } - if (!roomID) { - this.$message({ message: "房间号不能为空", type: "warning" }); - return; - } + // if (!userID) { + // this.$message({ message: "用户名不能为空", type: "warning" }); + // return; + // } + // if (!roomID) { + // this.$message({ message: "房间号不能为空", type: "warning" }); + // return; + // } const userName = this.$store.state.user.userInfo?.name || userID; window.hirtcwebsdk.join('1006110', 'ce84dbf44832bb97faa3bfd735f73c1b', '123123'); },