mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 06:26:59 +00:00
fix possibly null prop
This commit is contained in:
@@ -68,9 +68,9 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
lastRecruitTime: {
|
||||
type: Number as PropType<null|number>,
|
||||
type: Number as PropType<number>,
|
||||
default() {
|
||||
return null;
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user