mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-22 21:59:49 +08:00
✏️ 修正类型
This commit is contained in:
@@ -49,7 +49,7 @@ onBeforeMount(async () => {
|
||||
next.value = TSAvatarBirth.getNextAvatarBirth();
|
||||
});
|
||||
|
||||
function toBirth(type: TGApp.Archive.Birth.RoleItem) {
|
||||
function toBirth(type: TGApp.Archive.Birth.RoleItem | true): void {
|
||||
let dateStr;
|
||||
if (type === true) {
|
||||
const date = new Date();
|
||||
|
||||
Reference in New Issue
Block a user