fix: 修改生命周期拼写错误的bug

This commit is contained in:
MTrun
2021-11-08 12:56:53 +08:00
parent c33da92e63
commit 6346d04394
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export default {
this.calcRate()
window.addEventListener('resize', this.resize)
},
unMounted () {
beforeDestroy () {
window.removeEventListener('resize', this.resize)
},
methods: {
+1 -1
View File
@@ -127,7 +127,7 @@ export default {
this.timeFn()
this.cancelLoading()
},
unMounted() {
beforeDestroy () {
clearInterval(this.timing)
},
methods: {