wants to send the collected data when switching routes, but does not generate
when changing the value of vuex.beforeRouteLeave: (to, from, next) => {
try {
console.log(":"+new Date().getTime());
this.$store.commit("GET_HTTPRESPONSETIME", new Date().getTime());
this.closPages();
} catch (error) {
}finally{
next();
}
what"s wrong with writing like that?