Delay in getting data from vuex

A web page gets a large amount of data from the backend and stores it in vuex. Other components get data from vuex, but if there is a delay in the network, if it is unable to get the data, it will report an error. Is there any solution?

at present, I set a default value in vuex, which feels a bit low. Is there any other way to start rendering the page after getting the data?

May.30,2022

if you want to set the loading status when getting data, use v-if or routing to control the interface that depends on data not to render, and then render the data. This is normally done

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