release: update 6.0.0

This commit is contained in:
xiaoxian521
2025-04-25 09:50:52 +08:00
parent 13a36c0acb
commit d2543cf9d3
81 changed files with 2900 additions and 2547 deletions

View File

@@ -16,8 +16,7 @@ import {
import { useMultiTagsStoreHook } from "./multiTags";
import { type DataInfo, setToken, removeToken, userKey } from "@/utils/auth";
export const useUserStore = defineStore({
id: "pure-user",
export const useUserStore = defineStore("pure-user", {
state: (): userType => ({
// 头像
avatar: storageLocal().getItem<DataInfo<number>>(userKey)?.avatar ?? "",