problem description
I used electron to package the front end into an exe application; but anything with a http request can"t be displayed. Have any bosses ever used electron? ask for answers
the environmental background of the problems and what methods you have tried
use npm install electron- g and npm install electron-package-g;
static resources can be displayed normally, but the data requested from the background using ajax or axios is not displayed
related codes
/ / Please paste the code text below (do not replace the code with pictures)
what result do you expect? What is the error message actually seen?
I hope that after the previous code is packaged with electron under the guidance of the boss, the data requested by ajax or axios can be displayed