project introduced vux and veevalidate, but found that when the page was loaded for the first time, the input of all pages could not be entered, but after a refresh, the input of all pages could be entered
.at present, my solution is to set up an automatic refresh mechanism
beforeCreate() {
if(!sessionStorage.getItem("userManage")){
sessionStorage.setItem("userManage", "1");
window.location.reload();
}else{
setTimeout(function() {
sessionStorage.removeItem("userManage");
}, 100)
},
but this method will be refreshed twice when the page is used for routing redirection, and the effect is not satisfactory. Is there any better solution, or is there a conflict between the two frameworks?