Angular pagination jumps to the specified page

this is my code:

<tr *ngFor="let items of topics.data | paginate: { itemsPerPage: 5, currentPage: p }">
</tr>

 <div class="d-flex">
          <pagination-controls
            (pageChange)="p = $event"
            previousLabel=""
            nextLabel=""
            directionLinks="true"
            maxSize="6"
            autoHide="false"
            responsive="true"
            class="myPagination">
          </pagination-controls>
          <span class="small"></span>
          <input style="width: 2rem; height: 1.2rem">
          <button nz-button nzType="primary" [nzSize]=""small""></button>
        </div>

basic functions have been implemented
now I want to enable the user to enter the number of the specified page, click "Jump", you can jump to the specified page, and then it won"t happen. I hope the great god can give us some guidance when he sees it. Thank you very much

Aug.29,2021

to jump to the specified page is to update the value of the current currentPage, the same reason that you click on the next page and the previous page, but also to update the value of currentPage

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35073-4d5fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35073-4d5fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?