CodePudding user response:
The backend support cross-domain lineWrite a filter, set the request header
CodePudding user response:
Bah, response headers, hand -CodePudding user response:
The cross-domain so errorCommon practice is whether access to the front or back end, are accessing the same webserver, in webpack development front-end + for springmvc back-end, for example, are generally in webpack configuration backend address calls using a proxy, rather than direct access to the backend address, so there is no cross domain,
CodePudding user response:
You directly to provide the HTTP interface to the person you visit bai, you that involve cross-domain problemCodePudding user response:
Cross-domain problem, configuration allows cross domain