mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
fix adventurer not being nullable
This commit is contained in:
@@ -55,9 +55,9 @@ export default defineComponent({
|
||||
},
|
||||
props: {
|
||||
adventurer: {
|
||||
type: Object as PropType<Adventurer|any>,
|
||||
type: Object as PropType<Adventurer|null|any>,
|
||||
default() {
|
||||
return {} as Adventurer;
|
||||
return null as Adventurer|null;
|
||||
},
|
||||
},
|
||||
allAdventurers: {
|
||||
|
||||
Reference in New Issue
Block a user