The backend directly generates the CAPTCHA image, which is sent to me through the stream format. I can get it and show it for the time being, that is, there is still a problem with this src.

clipboard.png

clipboard.png
clipboard.png

now that the problem is solved for the time being, you can show the refresh CAPTCHA. ServerUrl must be the address of the backend. When it is deployed, how to obtain this parameter, do you have to fill in it manually? My request is to cross-domain

through a proxy set by vue-cli.

I don't know if your background is written in language. Generally, cross-domain is configured in the background. This is the prefix of your request for background entry file. The foreground is configured in your config file.


3




set global variables in main.js so that you can use

in all sub-pages.
Menu