Problem description:
when using ajax to access the json file, use the Google browser opens, there will be a problem: the diagram below
problem solving:
1, because of the problems appeared a cross-domain, to find relevant solutions to cross-domain solutions
2, use vscode editor, install live – server mark> plug-in, as shown in figure method is used to open the HTML file, will be forced to make it under the same server.