fix
This commit is contained in:
parent
c9b5db7d4b
commit
4471903430
@ -54,15 +54,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="d-flex justify-content-center align-items-center">
|
<div class="d-flex justify-content-center align-items-center">
|
||||||
@{
|
@{
|
||||||
int page;
|
int page = int.Parse(Context.Request.Query["page"]);
|
||||||
if (Context.Request.Query.TryGetValue("page", out var pageValue) && !string.IsNullOrEmpty(pageValue))
|
|
||||||
{
|
|
||||||
page = int.Parse(pageValue);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
page = 1;
|
|
||||||
}
|
|
||||||
<div class="m-1">
|
<div class="m-1">
|
||||||
<input type="number" class="form-control" min="1" step="1" asp-action="Mails" name="page" value="@(page)" readonly>
|
<input type="number" class="form-control" min="1" step="1" asp-action="Mails" name="page" value="@(page)" readonly>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user