This commit is contained in:
2025-03-29 00:48:05 +08:00
parent a865439f39
commit 4c392a23d3
17 changed files with 428 additions and 235 deletions
+9
View File
@@ -13,6 +13,12 @@ export const useInfoStore = defineStore("infoStore", ()=>{
const suits = computed(()=>infos.value?.suits ?? [])
const enchantings = computed(()=>infos.value?.enchantings?? [])
const emblems = computed(()=>infos.value?.emblems?? [])
const parts = ['上衣', '头肩', '下装', '腰带', '鞋', '手镯', '项链', '戒指', '耳环', '辅助装备', '魔法石', '武器']
const createCharacter = async (alter: string, equVersion?: string) => {
const time = new Date().getTime()
alter_token.value = btoa(JSON.stringify({alter, equVersion, time}))
@@ -26,5 +32,8 @@ export const useInfoStore = defineStore("infoStore", ()=>{
equips,
suits,
createCharacter,
enchantings,
emblems,
parts
}
})