diff --git a/peach/store/sys.js b/peach/store/sys.js index 7295c56..a7e3c52 100644 --- a/peach/store/sys.js +++ b/peach/store/sys.js @@ -2,31 +2,31 @@ import { ref } from 'vue' import { defineStore } from 'pinia' const useSysStore = defineStore( - 'sys', - () => { - const theme = ref('') - const mode = ref('light') - const modeAuto = ref(false) - const fontSize = ref(1) + 'sys', + () => { + const theme = ref('') + const mode = ref('light') + const modeAuto = ref(false) + const fontSize = ref(1) - function setTheme(stheme = '') { - theme.value = stheme ? stheme : 'orange' - } - - return { - theme, - mode, - modeAuto, - fontSize, - setTheme, - } - }, - { - persist: { - enabled: true, - strategies: [{ key: 'sys-store' }], - }, + function setTheme(stheme = '') { + theme.value = stheme ? stheme : 'red' } + + return { + theme, + mode, + modeAuto, + fontSize, + setTheme, + } + }, + { + persist: { + enabled: true, + strategies: [{ key: 'sys-store' }], + }, + } ) export default useSysStore diff --git a/static/a-index.png b/static/a-index.png index 6b338f7..a12e1cc 100644 Binary files a/static/a-index.png and b/static/a-index.png differ diff --git a/static/a-my.png b/static/a-my.png index 93243b6..b58df34 100644 Binary files a/static/a-my.png and b/static/a-my.png differ diff --git a/static/a-order.png b/static/a-order.png index 8ba5fd5..df39633 100644 Binary files a/static/a-order.png and b/static/a-order.png differ diff --git a/static/a-product.png b/static/a-product.png index 844fd11..672feee 100644 Binary files a/static/a-product.png and b/static/a-product.png differ diff --git a/static/index.png b/static/index.png index f74a29b..e94b1a8 100644 Binary files a/static/index.png and b/static/index.png differ diff --git a/static/my.png b/static/my.png index 38d6ee8..93596a0 100644 Binary files a/static/my.png and b/static/my.png differ diff --git a/static/order.png b/static/order.png index c1faa69..b43c3c9 100644 Binary files a/static/order.png and b/static/order.png differ diff --git a/static/product.png b/static/product.png index abad852..601760c 100644 Binary files a/static/product.png and b/static/product.png differ