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.

Read More:
- Network error — browser error [How to Solve]
- The vscode installation plug-in liveserver specified browser reported an error and could not be found
- Vscode automatically formats the code when an error is reported
- Anaconda + vscode usage problem summary
- About solving the problem that vscode files cannot be edited
- Create xxx.vue file with vscode, add comments and report error
- Error in adding jshint plug-in to vscode
- How to set vscode interface to Chinese
- Build Vue project on alicloud server
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- Solve the problem that vscode cannot convert the easy less plug-in to the less expression value
- Failed to resolve: com.android.support:appcompat-v7:27.
- Save file and exit command of vim
- NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
- Event ID 407, 408 – when NAT is used as a DNS server
- Ueditor paste word image and upload image file automatically
- Configuring C + + environment with atom under ubuntu1404
- Solved: No’Access-Control-Allow-Origin’ cross-domain issue
- Markdown real time preview of sublime Text3
- Video JS can’t play the prompt( CODE:4 MEDIA_ ERR_ SRC_ NOT_ SUPPORTED) No compatible source was found for this video.