diff --git a/frontend/src/components/MailBox.vue b/frontend/src/components/MailBox.vue index c031419d..81ff9822 100644 --- a/frontend/src/components/MailBox.vue +++ b/frontend/src/components/MailBox.vue @@ -33,7 +33,7 @@ const props = defineProps({ }, }) -const { themeSwitch } = useGlobalState() +const { themeSwitch, mailboxSplitSize, useIframeShowMail } = useGlobalState() const autoRefresh = ref(false) const autoRefreshInterval = ref(30) const data = ref([]) @@ -146,6 +146,10 @@ const deleteMail = async () => { } }; +const onSpiltSizeChange = (size) => { + mailboxSplitSize.value = size; +} + onMounted(async () => { await refresh(); }); @@ -157,7 +161,8 @@ onBeforeUnmount(() => {