How do I return to the previous page using vuex?

this.$router.back (- 1) in the method when vuex is not used. This returns the previous page. After using vuex, mutations reported an error Cannot read property "back" of undefined

.
methods: {
    release () {
      this.$router.back(-1)
    }
  }
mutations: {
    RELEASE () {
      this.$router.back(-1)  //Cannot read property "back" of undefined
    }
  }
Aug.16,2021

cannot be written this way (Vuex is just state management), you can only use this.$router in * .vue.

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