When the router-link route is redirected, the pages of the non-routed parts, that is, the public parts, are also sent messages.

if you can"t understand the meaning of the title, then look at the picture

.

the top yellow part is the public part in app.vue
the red part is vue-router
green < router-view/ > part
what I need to implement now is
when I click on the red navigation, when I enter the green part below, the upper yellow part can also refresh ~

@ Boss ~

Mar.05,2021

by refresh, do you mean to replace it with another component? Or re-request the backend to get the latest data?


you can use router-view to name views

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b372b9-4d70e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b372b9-4d70e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?