Refreshing the page with parameters in the address bar will report an error.

error content:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Technology used in the project
node+webpack+vue+vue-router

reproduction process:
the opening page looks like this:

"" id

the address bar remains unchanged after closing the pop-up window. Refresh the page at this time, and the error will be reported when you open the pop-up window

excuse me:
(1) how is this error caused?
is it because I use the JSON.parse method?
(2) how to correct the address bar without parameters after closing the pop-up window

Mar.02,2021

  1. check whether the parameters in JSON.parse are incorrect,
  2. when you close the pop-up window this.$route.push ('/ audit') , you can redirect the following pages and update the data.
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-1e8adbd-1014.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-1e8adbd-1014.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?