You can see the data in observer,vuex, but the length fetched in main.js is 0

I want to fetch the list array in vuex, but after getting it, the length becomes 0

.

clipboard.png

clipboard.png

clipboard.png
.listoberser

clipboard.png

Feb.14,2022

when you don't need List to get, click on whether there is a value in List
and it hasn't been assigned yet when you take a value in main.js.


you can get the value by adding a setTimeout. I don't know why, it should be asynchronous.

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