Vue-cli returns data asynchronously in index.js and cannot get it on another page.

the vue-cli, used by the project is asynchronously returned to the logged-in user"s information in index.js and stored in this.$store.status,

index.js
clipboard.png

mountedundefined

clipboard.png
what to do at this time

Mar.24,2021

get


loginUser is placed in computed to receive user information


because the requirement is expanded to save information after refresh, so use localStorage to access data

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-1e96c43-15fe.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-1e96c43-15fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?