fix: 修改生命周期拼写错误的bug
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "big-screen-vue-datav",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
||||
@@ -24,7 +24,7 @@ export default {
|
||||
this.calcRate()
|
||||
window.addEventListener('resize', this.resize)
|
||||
},
|
||||
unMounted () {
|
||||
beforeDestroy () {
|
||||
window.removeEventListener('resize', this.resize)
|
||||
},
|
||||
methods: {
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ export default {
|
||||
this.timeFn()
|
||||
this.cancelLoading()
|
||||
},
|
||||
unMounted() {
|
||||
beforeDestroy () {
|
||||
clearInterval(this.timing)
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user