Vue realizes refreshing the page after adding, deleting and modifying operations
It is common to realize the automatic update of the page after the delete operation is performed.
First, you need to set it globally in APP.VUE,
then set it in the script,
and then write a refresh method
. Inject inject into the operation page that needs to be refreshed: ['reload']
After calling the interface successfully, this.reload( )
For example, after the deletion interface is called successfully: enter