diff --git a/web/src/layout/components/Header/index.vue b/web/src/layout/components/Header/index.vue index 88acd19..b70cb07 100644 --- a/web/src/layout/components/Header/index.vue +++ b/web/src/layout/components/Header/index.vue @@ -10,7 +10,7 @@

HotGo

{ + emit('update:collapsed', !props.collapsed); + }; + onMounted(() => { if (notificationStore.getUnreadCount() === 0) { notificationStore.pullMessages(); @@ -500,6 +504,7 @@ notificationStore, getIsMobile, userStore, + updateMenu, }; }, });