File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export default {
5151 this .initChart ()
5252 })
5353 },
54- beforeDestroy () {
54+ beforeUnmount () {
5555 if (! this .chart ) {
5656 return
5757 }
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export default {
120120 }
121121 this .setTab (this .$route )
122122 },
123- beforeDestroy () {
123+ beforeUnmount () {
124124 emitter .off (' collapse' )
125125 emitter .off (' mobile' )
126126 },
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export default {
5858 this .isCollapse = item
5959 })
6060 },
61- beforeDestroy () {
61+ beforeUnmount () {
6262 emitter .off (' collapse' )
6363 },
6464 methods: {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default {
9090 screenfull .on (' change' , this .changeFullShow )
9191 }
9292 },
93- destroyed () {
93+ unmounted () {
9494 screenfull .off (' change' , this .changeFullShow )
9595 },
9696 methods: {
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export default {
159159 this .reload ()
160160 }, 1000 * 10 )
161161 },
162- beforeDestroy () {
162+ beforeUnmount () {
163163 clearInterval (this .timer )
164164 this .timer = null
165165 },
You can’t perform that action at this time.
0 commit comments