after each login skip to the home page, part of the js becomes invalid. To solve this problem, I refresh the code once when I enter the home page as follows:
//home.vue
mounted:function(){
location.reload()
}
but now the page is always refreshing the wireless loop, what if it is refreshed only once?