diff --git a/src/App.vue b/src/App.vue index 98d7c25..0408db9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,7 +20,7 @@ const lang = computed(() => { return store.getters.language }) const locale = ref(zh) -const size = ref('default') +const size = ref('small') size.value = store.getters.size watch( token, diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 1d1def6..69672f6 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -7,7 +7,7 @@ const state = { hide: false }, device: 'desktop', - size: Cookies.get('size') || 'default', + size: Cookies.get('size') || 'small', lang: Cookies.get('lang') || 'zh-cn' }