The plan is as follows: I don’t know if your search requires the server to provide data
Your problem is how to distinguish whether to maintain the search condition status when clicking pagination. Your question is not clearly described
1. URL passes parameters, and the search condition status must be maintained in the URL link. When js clicks on the next page, when it goes to the server to request Bring the search conditions, such as?id=2&name='zhangsan', and the server is reading the library When, determine whether there are search conditions If so, return the search results.
The plan is as follows:
I don’t know if your search requires the server to provide data
Your problem is how to distinguish whether to maintain the search condition status when clicking pagination. Your question is not clearly described
1. URL passes parameters, and the search condition status must be maintained in the URL link. When js clicks on the next page, when it goes to the server to request
Bring the search conditions, such as?id=2&name='zhangsan', and the server is reading the library When, determine whether there are search conditions
If so, return the search results.