From b0f6b1b6c9a9e4034e4396a7271655be926665ac Mon Sep 17 00:00:00 2001 From: ceruIean Date: Wed, 8 Dec 2021 17:00:27 +0800 Subject: [PATCH] fix small bug --- Pages/Students/Index.cshtml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Pages/Students/Index.cshtml.cs b/Pages/Students/Index.cshtml.cs index f07db45..4e6189d 100644 --- a/Pages/Students/Index.cshtml.cs +++ b/Pages/Students/Index.cshtml.cs @@ -109,6 +109,7 @@ namespace _2021_backend.Pages.Students public async Task OnPostReselectAllAsync(int? pageId,string errInfo) { + if (pageId == null) pageId = 0; foreach (var s in Context.Students) { if (s.Status != status.不通过) s.Status = status.需调整时间;