dev
This commit is contained in:
@@ -32,7 +32,7 @@ export interface IConfig {
|
||||
}
|
||||
>
|
||||
jades: Record<string, {
|
||||
id:string
|
||||
id:number
|
||||
value: number
|
||||
}>
|
||||
avatar: Record<
|
||||
@@ -124,7 +124,7 @@ export const useConfigStore = defineStore('configStore', () => {
|
||||
|
||||
(["0", "1", "2", "3"].filter((key) => !Object.keys(config.value.jades).includes(key)) ?? []).forEach((key) => {
|
||||
config.value.jades[key] = {
|
||||
id: '',
|
||||
id: -1,
|
||||
value: 0,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export const useInfoStore = defineStore('infoStore', () => {
|
||||
|
||||
const avatars = computed(() => infos.value?.avatar ?? {})
|
||||
|
||||
// const jades = computed(() => infos.value?.jades ?? [])
|
||||
const jades = computed(() => infos.value?.jades ?? [])
|
||||
|
||||
const parts = [
|
||||
'头肩',
|
||||
@@ -78,5 +78,6 @@ export const useInfoStore = defineStore('infoStore', () => {
|
||||
stones,
|
||||
avatarParts,
|
||||
avatars,
|
||||
jades
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user