The API requested by nuxt.js in asyncData is cross-domain and normal in created.

the API requested by nuxt.js in asyncData is cross-domain, which causes the page request to fail and the application cannot open

clipboard.png

created

clipboard.png

the interface address is forwarded with nignx, and the domain name used is added with the address
to find a solution

Mar.15,2021
Menu