会议背景顶部预留边距

This commit is contained in:
cxc
2022-05-25 17:31:14 +08:00
parent a9a9dca090
commit 7dee95c3ca
6 changed files with 179 additions and 136 deletions

View File

@ -68,7 +68,10 @@ router.beforeEach(async (to) => {
store.commit("setJoinUser", {});
}
// 如果参会方式发生更改,则清除数据
if (store.state.meeting.joinType !== store.state.joinType) {
if (
store.state.joinType &&
store.state.meeting.joinType !== store.state.joinType
) {
store.commit("setJoinUser", {});
store.commit("setJoinType", store.state.meeting.joinType);
return `/verify/${to.params.meetingId}`;
@ -94,6 +97,7 @@ router.beforeEach(async (to) => {
}
} else {
if (_.isEmpty(store.state.joinUser)) {
console.log("error");
return `/verify/${to.params.meetingId}`;
} else {
if (store.state.meeting.joinType === "2") {