refactor(添加pinia数据持久化,添加package依赖): 🎨 添加fastcrud在setting.ts的公共配置

This commit is contained in:
H0nGzA1
2023-02-05 22:08:36 +08:00
parent 4046bd0d0c
commit feac69af86
9 changed files with 68 additions and 129 deletions

View File

@@ -49,4 +49,7 @@ export const DictionaryStore = defineStore('Dictionary', {
})
},
},
persist: {
enabled: true,
},
});

View File

@@ -88,3 +88,7 @@ export interface ThemeConfigState {
export interface ThemeConfigStates {
themeConfig: ThemeConfigState;
}
export interface DictionaryStates {
data: any;
}