Changing the value of vuex in the beforRouterLeave guard does not take effect.

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?

Mar.04,2021

this does not need the arrow function

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