Use JavaScript to generally use history.go(-1) and history.back(), etc.
But is the page or the cached data returned, and the updated data cannot be presented immediately
Here you can just use a simple javascript statement to implement it, return to the previous page and refresh the page
The code copy is as follows:
location.href = document.referrer;//Reload the previous page