In the vue project, how to click again and refresh the content on the right , I used [provide/inject] in vue, in simple terms. . Not much to say on the code
1. Set provide in the parent component
2. Don’t forget the reload() method in methods3
. Call it through inject in the left menu component
4. Just call the method directly where it needs to be executed