The following error suddenly appears on a query page:
Uncaught SyntaxError: Invalid or unexpected token，
Translated into Chinese:
the captured query is invalid or unexpected
what is this?Careful query code logic completely no problem, a face muddled force, do not know what happened.
Since there is no problem with the code logic, it is a data problem. After checking all the data to be displayed on the page, we found some doubtful points, such as single quotation marks and double quotation marks.
In fact, this error prompt tells us that the data has special characters; The data has special characters; The data has special characters