mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-30 10:54:06 +08:00
feat: 升级vue3
This commit is contained in:
@@ -16,14 +16,10 @@ export interface DictState {
|
||||
dictMap: Recordable
|
||||
}
|
||||
|
||||
export const useDictStore = defineStore({
|
||||
id: 'dict',
|
||||
export const useDictStore = defineStore('dict', {
|
||||
state: (): DictState => ({
|
||||
dictMap: {}
|
||||
}),
|
||||
persist: {
|
||||
enabled: true
|
||||
},
|
||||
getters: {
|
||||
getDictMap(): Recordable {
|
||||
return this.dictMap
|
||||
|
Reference in New Issue
Block a user