mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
fix a type error
This commit is contained in:
@@ -22,9 +22,9 @@ export default defineComponent({
|
||||
}),
|
||||
props: {
|
||||
adventurers: {
|
||||
type: Object as PropType<{ [key: string]: Adventurer }>,
|
||||
type: Object as PropType<Array<Adventurer>>,
|
||||
default() {
|
||||
return {} as { [key: string]: Adventurer };
|
||||
return [] as Array<Adventurer>;
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user