1
0
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:
Kaifuny 2023-07-24 10:56:57 +08:00
parent 7f2379c5ef
commit 11f47964f5
4 changed files with 6 additions and 6 deletions

View File

@ -2,5 +2,5 @@ import { createPinia } from 'pinia'
export const pinia = createPinia()
// export * from './modules/apparence'
export * from './modules/apperance'
// export * from './modules/auth'

View File

@ -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,

View File

@ -1,4 +1,4 @@
export type Apparence = {
export type Apperance = {
lang: string
darkMode: boolean
}

View File

@ -1,2 +1,2 @@
export * from './routes'
export * from './apparence'
export * from './apperance'