src/types/pinia.d.ts
@@ -17,6 +17,21 @@ userInfos: UserInfos; } // 患者信息 declare interface patientsInfo<T=any>{ id:string, code:string, age:number, patientName:string, patientGenderText:string, //头像 patientAvatarIcon:string, [key: string]: T; } declare interface patientsInfoState { patientsInfo: patientsInfo; } // 路由缓存列表 declare interface KeepAliveNamesState { keepAliveNames: string[];