A very confusing bug in easyUI: After the paging plugin clicks the next page and the last page, it sends two requests, and the second request jumps back to the first page

The query can be displayed normally, but after clicking the next page and the last page, it will jump to the first page

I just started to check the reload of the datagrid of the page js, but no errors were found

Finally, it was found that the returned json, when the first request was made, the total number was null, and the total number of the second request was normal.

It can be concluded that if the total number of pages received by the datagrid of easyUI is null, the url request will be sent again

Solution:

Query whether there is a problem with the total JSON data returned in the background

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325612223&siteId=291194637