Vue implements a global method similar to console.log

now try to make a small desktop crawler with vue+electron. Hope to show the crawler"s progress in the software interface, similar to the function of console.log, and print the text to the electron page

.

tried the global variables and functions of VUEX, but it was different from the expected result. There is always a crawler function running before typing out the process log all at once

if you want to update the progress of the function, output a sentence in electron (such as: logging in, login complete, start search). Not long after learning the front end, I don"t have enough knowledge. I hope God will give me some ideas to try

.
May.27,2022

reference:

Menu