feat(app.ts): 添加state变量language和size

This commit is contained in:
郝先瑞
2022-01-08 18:42:10 +08:00
parent 075c7f88ba
commit 39eee2c133
2 changed files with 6 additions and 2 deletions

View File

@@ -10,7 +10,9 @@ export const useAppStore = defineStore({
sidebar: {
opened: Local.get('sidebarStatus') ? !!+Local.get('sidebarStatus') : true,
withoutAnimation: false
}
},
language:'zh',
size:'medium'
}),
actions: {
toggleSidebar() {