How does vue enter the corresponding routing path in the address bar, and then change the corresponding tapbar of the page?

clipboard.png

clipboard.png
means that I change the corresponding path in the address bar, and the selected status below also corresponds to the change

.
Jun.28,2022

vue-router


my own solution is to add meta: {index:1}

to router.

then send the corresponding Index to the corresponding tab page in tabbar

Menu