Use Vue Router to pass parameters, be redirected, and lose parameters. Has any boss ever encountered such a strange problem, QAQ?

The jump code in the

1Vue component is as follows
clipboard.png

router.js

clipboard.png
route
clipboard.png

PS: passing parameters using query also jumps to a path with no parameters

has a boss ever encountered such a strange problem? QAQ

Jul.07,2022

Delete /: info
of router.js path or do not delete, change push
this.$router.push ({

)
    path: `/editInfo/${info}`,

})
try


well, I found that the reason is that every time I read beforeMount and beforeUpdate in the App.vue file, I read route.path, assign a value to a variable, and then modify it, and finally the value of this variable changes route.path.
this is so weird.

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