{take:10}->出现错误并显示红色下划线
getPendingCount(): void {
if (!this.storageService.accessToken)
return;
this.prescriptionService.getPrescriptionStatusList({ take: 10 }, { skip: 0 }, { status: 1 })
.subscribe((data: any) => {
const count = (data.length == 10) ? "9+" : data.length.toString();
this.allMenus.find(menu => menu.name == 'Prescription').unreadCount = count;
});