简单的升星

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-26 03:06:23 +08:00
parent 8e644c583c
commit b33fede03e
22 changed files with 4330 additions and 169 deletions

View File

@@ -0,0 +1,18 @@
import { PlayerPetOV } from "../../consts/API";
//宠物选择
export interface PlayerPetOVSelect extends PlayerPetOV{
//是否选择
isSelect:boolean;
}
export class PetOV{
static PlayerPetOVSelects(pets:PlayerPetOV[]):PlayerPetOVSelect[]{
return pets.map(pet => ({...pet,isSelect:false}))
}
}