🐛 fix i18n init bug

This commit is contained in:
landaiqing
2024-08-13 15:40:30 +08:00
parent 431e690f02
commit fa1301689a
24 changed files with 135 additions and 106 deletions

View File

@@ -1,7 +1,6 @@
import {defineStore} from 'pinia';
import {ref} from 'vue';
import {User} from "@/types/user";
import {parse, stringify} from "zipson/lib";
export const useAuthStore = defineStore(
@@ -34,10 +33,6 @@ export const useAuthStore = defineStore(
key: 'user',
storage: localStorage,
paths: ["user"],
serializer: {
deserialize: parse,
serialize: stringify,
},
}
}
);