聊天输入字数限制
This commit is contained in:
@ -73,7 +73,9 @@ router.beforeEach(async (to) => {
|
||||
// store.commit("setJoinUser", {});
|
||||
// }
|
||||
// store.commit("setRouteType", to.name);
|
||||
|
||||
if (["Meeting", "Host", "Panelist", "Supervisor"].includes(to.params)) {
|
||||
store.commit("setJoinRole", to.name);
|
||||
}
|
||||
// 如果前往页面的会议id于之前的不同,就清除用户信息、消息列表
|
||||
if (to.params.meetingId !== store.state.joinUser.meetingId) {
|
||||
store.commit("setJoinUser", {});
|
||||
|
Reference in New Issue
Block a user