How to get the route for the current page

how to get the route for the current page http://localhost:3000/search-results?keyword=%E4%B9%B3%E8%85%BA%E7%99%8C&range=%E5%85%A5%E9%99%A2%E8%AE%B0%E5%BD%95,%E7%97%85%E7%A8%8B%E8%AE%B0%E5%BD%95, % E5% 87% BA% E9% 99% A2% E5% B0% 8F% E7% BB% 93 http://localhost:3000% E6% 89% 8B% E6% 9C% AF% E8% AE% B0% E5% BD% 95
that is, the part after with the parameter

May.22,2021

router.split ('?) [1]


window.document.location.pathname

if you use vue-router, to get this directly

this.$route.query// object

this.$route.query

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