diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4268290f..b86ef4d4 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -12,7 +12,7 @@ const { localeCache, isDark, loading, useSideMargin } = useGlobalState() const theme = computed(() => isDark.value ? darkTheme : null) const localeConfig = computed(() => localeCache.value == 'zh' ? zhCN : null) const isMobile = useIsMobile() -const showSideMargin = computed(() => !isMobile.value && !useSideMargin.value); +const showSideMargin = computed(() => !isMobile.value && useSideMargin.value); const { locale } = useI18n({ useScope: 'global', @@ -40,8 +40,8 @@ onMounted(async () => { - - + +
@@ -52,7 +52,7 @@ onMounted(async () => {
- +
diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index 292972f8..2e1ce7d0 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -87,7 +87,6 @@ const getSettings = async () => { settings.value = { address: res["address"], auto_reply: res["auto_reply"], - has_v1_mails: res["has_v1_mails"], send_balance: res["send_balance"], }; } finally { diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index ded2d723..1d95e649 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -20,7 +20,6 @@ export const useGlobalState = createGlobalState( }) const settings = ref({ fetched: false, - has_v1_mails: false, send_balance: 0, address: '', auto_reply: { diff --git a/frontend/src/views/common/Appearance.vue b/frontend/src/views/common/Appearance.vue index ea5f7ef4..174de2a3 100644 --- a/frontend/src/views/common/Appearance.vue +++ b/frontend/src/views/common/Appearance.vue @@ -1,12 +1,14 @@