refactor(添加pinia数据持久化,添加package依赖): 🎨 添加fastcrud在setting.ts的公共配置
This commit is contained in:
@@ -49,4 +49,7 @@ export const DictionaryStore = defineStore('Dictionary', {
|
||||
})
|
||||
},
|
||||
},
|
||||
persist: {
|
||||
enabled: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -88,3 +88,7 @@ export interface ThemeConfigState {
|
||||
export interface ThemeConfigStates {
|
||||
themeConfig: ThemeConfigState;
|
||||
}
|
||||
|
||||
export interface DictionaryStates {
|
||||
data: any;
|
||||
}
|
||||
Reference in New Issue
Block a user