fix: 修改生命周期拼写错误的bug
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
this.calcRate()
|
||||
window.addEventListener('resize', this.resize)
|
||||
},
|
||||
unMounted () {
|
||||
beforeDestroy () {
|
||||
window.removeEventListener('resize', this.resize)
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user