main
SWX\10484 3 days ago
parent 5a9b1f6e16
commit ae96b80b61
  1. 16
      src/views/videoCommunication/realTimeConsultation.vue

@ -616,14 +616,14 @@ export default {
join() { join() {
const userID = this.userID; const userID = this.userID;
const roomID = this.roomID; const roomID = this.roomID;
if (!userID) { // if (!userID) {
this.$message({ message: "用户名不能为空", type: "warning" }); // this.$message({ message: "", type: "warning" });
return; // return;
} // }
if (!roomID) { // if (!roomID) {
this.$message({ message: "房间号不能为空", type: "warning" }); // this.$message({ message: "", type: "warning" });
return; // return;
} // }
const userName = this.$store.state.user.userInfo?.name || userID; const userName = this.$store.state.user.userInfo?.name || userID;
window.hirtcwebsdk.join('1006110', 'ce84dbf44832bb97faa3bfd735f73c1b', '123123'); window.hirtcwebsdk.join('1006110', 'ce84dbf44832bb97faa3bfd735f73c1b', '123123');
}, },

Loading…
Cancel
Save