main
SWX\10484 3 days ago
parent 5a9b1f6e16
commit ae96b80b61
  1. 16
      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');
},

Loading…
Cancel
Save