mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
chore: spell error
Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
parent
7f2379c5ef
commit
11f47964f5
@ -2,5 +2,5 @@ import { createPinia } from 'pinia'
|
||||
|
||||
export const pinia = createPinia()
|
||||
|
||||
// export * from './modules/apparence'
|
||||
export * from './modules/apperance'
|
||||
// export * from './modules/auth'
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import { Apparence } from '@cskefu/models'
|
||||
import { Apperance } from '@cskefu/models'
|
||||
|
||||
export const useApparence = defineStore('alerts', {
|
||||
state: (): Apparence => ({ lang: 'zh-CN', darkMode: false }),
|
||||
export const useApperance = defineStore('alerts', {
|
||||
state: (): Apperance => ({ lang: 'zh-CN', darkMode: false }),
|
||||
getters: {
|
||||
isDarkMode: (state) => state.darkMode,
|
||||
getLang: (state) => state.lang,
|
@ -1,4 +1,4 @@
|
||||
export type Apparence = {
|
||||
export type Apperance = {
|
||||
lang: string
|
||||
darkMode: boolean
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
export * from './routes'
|
||||
export * from './apparence'
|
||||
export * from './apperance'
|
||||
|
Loading…
x
Reference in New Issue
Block a user