mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-22 21:59:49 +08:00
💄 角色box草创 #121
This commit is contained in:
@@ -56,12 +56,18 @@ export const useUserStore = defineStore(
|
||||
return res;
|
||||
}
|
||||
|
||||
function getProp(prop: number): TGApp.Game.Avatar.PropMapItem | false {
|
||||
if (!propMap.value) return false;
|
||||
return propMap.value[prop.toString()] || false;
|
||||
}
|
||||
|
||||
return {
|
||||
cookie,
|
||||
briefInfo,
|
||||
account,
|
||||
propMap,
|
||||
getAllCookie,
|
||||
getProp,
|
||||
};
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user