Is not a function appears in vue this.$destroy ()

problem description

Today in the project, I wanted to destroy the exit of the keep-alive page, but I found an error when I used this.$destroy (). At first, I thought it was the configuration of the framework, but then a vue-cli environment was deployed, and the same is true.

the environmental background of the problems and what methods you have tried

Environment: vue init webpack-simple

Click the H2 tag in hello world and you will get an error

related codes

< template >
< div class= "hello" >

<h1>{{ msg }}</h1>
<h2 @click="desotry()">Essential Links</h2>

< / div >
< / template >

< script >
export default {

name: "HelloWorld",
data() {
  return {
    msg: "Welcome to Your Vue.js App"
  }
},
mounted () { 
},
methods: {
  desotry(){
    this.$destory();
  }
}

}

< / script >

what result do you expect? What is the error message actually seen?

I took a look at the contents of this, there is no $destory, but $forceUpdate and $nextTick are good, I hope someone can read it, thank you!

Jul.20,2021

Brother, do you have any misunderstanding about destroy? your words are misspelled. Hey!

api Portal: https://cn.vuejs.org/v2/api/-sharp.

and if you use a keep-alive, route that you don't want to be saved, just set exclude. Specific usage: https://cn.vuejs.org/v2/api/-sharp.

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