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:

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36f14-2c049.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36f14-2c049.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?