1. First written in php file entry on a code that allows asynchronous submit
header("ACCESS-CONTROL-ALLOW-ORIGIN:*");
2. There are two ways to submit vue data asynchronously to php (I tried two ways)
The first:
The second:
3.jsonp format
The return value is php
jsonp format