How to get all the routes in vue router? I want to determine whether the address bar path is a valid route.

when someone randomly enters an address in the address bar,

I want to judge whether the path he entered is a valid path, jump if it is a valid path, or jump to the home page if it is not a valid path

what if you get all the routes

Jul.08,2021

add a * when configuring the route, redirect to the home page, and add a sentence to the last


when configuring the route, add a *, redirect to the home page

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-1bdbc84-312a9.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-1bdbc84-312a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?