主持人富文本、leave meeting after close the browser
This commit is contained in:
@ -64,8 +64,9 @@ router.beforeEach(async (to) => {
|
||||
// 前往主持人页面
|
||||
if (to.name === "Host") {
|
||||
console.log("host");
|
||||
// const bytes = cryptoJs.AES.decrypt(to.params.hostinfo, "secret");
|
||||
// const decryptedData = JSON.parse(bytes.toString(cryptoJs.enc.Utf8));
|
||||
if (to.params.meetingId !== store.state.joinUser.meetingId) {
|
||||
store.commit("setMessagesList", []);
|
||||
}
|
||||
store.commit("setJoinUser", {
|
||||
nickname: to.params.nickname,
|
||||
username: to.params.username,
|
||||
|
Reference in New Issue
Block a user