After I click Delete , He cannot delete the current data immediately , To click next for a refresh , Of course, the data can be deleted
CSDN Q & A 2022-02-13 09:01:28 阅读数:606
After I click Delete , He cannot delete the current data immediately , To click next for a refresh , Of course, the data can be deleted
The simplest part is to call your next button after deletion. Or call your query To render Or clear the text box directly
The delete function should reset all text boxes or refresh the page directly
Make a query after deletion
Not deleted , The data in the collection has been deleted , But the page didn't refresh , You can set the code to automatically switch to the next or previous one ( Or other methods to refresh the page , I am right. Java I don't understand the page )
After deletion, call the query method again
copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130901176267.html