You can use vue-resource to make requests Maybe the poster is encountering a cross-domain problem? If the background is php, please add it to the receiving method
What the original poster means is how to request back-end data, not that there is no interface. Just configure a proxy. There is no need to cross domain. Just configure a proxyTable in index.js under config.
Didn’t the backend open an interface for you?
You can use vue-resource
You can use vue-resource to make requests
Maybe the poster is encountering a cross-domain problem?
If the background is php, please add it to the receiving method
axios,jquery
What the original poster means is how to request back-end data, not that there is no interface. Just configure a proxy. There is no need to cross domain. Just configure a proxyTable in index.js under config.