默认封面
This commit is contained in:
@ -56,6 +56,7 @@ const router = createRouter({
|
||||
});
|
||||
|
||||
router.beforeEach(async (to) => {
|
||||
await store.dispatch("getMeetingSettings");
|
||||
// 判断会议信息是否存在,不存在则请求数据
|
||||
if (!store.state.meeting.id && to.params.meetingId) {
|
||||
await store.dispatch("getMeetingInfo", to.params.meetingId);
|
||||
|
Reference in New Issue
Block a user