Put the api data in vuex and refresh the page normally, then retrieve the interface data and store it in vuex, but it becomes empty?

I put all the data requested by the API in the vuex, which is normal all the time, but the data becomes empty when I refresh the page manually. Although the vuex is emptied every time I refresh the page, my API request operation and putting the requested data into the vuex are obviously written in the mounted stage. In this case, even if the refresh can put the data back into the vuex, why is it empty?

Aug.17,2021
When the

page is reloaded, the content in the Vuex is also reloaded.
for direct local storage without being lost, you can use localstorage or sessionstorage


tell me what to do. The request to create an interface layer responsible for the interface under the
src/api directory only requests the interface
src/store/module directory to create a module in the actions request to execute the method in the api layer
the mounted in the component determines whether the data in the state in the vuex is empty if it is empty to execute this.$store.dispatch ('asdad')

        computed:{
            articles(){
                return this.$store.state.module.data
            }
        },
        mounted(){
            if (this.articles <= 0){
                this.$store.dispatch('actions')
            } 
        }
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-1c298b7-3395f.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-1c298b7-3395f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?