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