Key point: json in js does not support single quotes
The company OA system, everything is configured
One day, the developer Zhang configured a form, but the form kept reporting errors
After checking the problem for three days, I have not found the problem, but found that the parameters in the request are missing
On the fourth day, Xiao Zhang was about to collapse. Xiao Zhang continued to investigate this problem, and suddenly Xiao Zhang found that the default value on the page was very strange, it was an empty string of single quotation marks
Xiao Zhang thought about trying to change it to double quotation marks, and then found that everything was normal, Xiao Zhang cried with joy...
Reference document: Differences between double quotes, single quotes and backquotes in JavaScript_Differences between front-end single quotes and double quotes_CUG-GZ's Blog-CSDN Blog