now there is a business to develop the mobile official website, the front and rear ends are separated, and the front-end framework uses vuejs. I think Xiaomi mobile mall data is dynamically loaded, not the returned static page. I have a question for all...
the front-end url is in the format of http: localhost:3333 index.html-sharp detail accesses the backend and reports a cross-domain error No Access-Control-Allow-Origin header is present on the requested resource.. Origin http: localhost:3333 ...
in the separation of front and rear ends, and in the design of back-end interfaces, such as { "code":1, "data":{} } The value of code, 1 means that the request succeeded or failed in response to the code request? Look at se...