File tree Expand file tree Collapse file tree 9 files changed +27
-9
lines changed Expand file tree Collapse file tree 9 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ export default Vue.extend({
79
79
}
80
80
} ,
81
81
beforeDestroy ( ) {
82
- this . _chart . destroy ( )
82
+ if ( this . _chart ) {
83
+ this . _chart . destroy ( )
84
+ }
83
85
}
84
86
} )
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ export default Vue.extend({
80
80
}
81
81
} ,
82
82
beforeDestroy ( ) {
83
- this . _chart . destroy ( )
83
+ if ( this . _chart ) {
84
+ this . _chart . destroy ( )
85
+ }
84
86
}
85
87
} )
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ export default Vue.extend({
63
63
}
64
64
} ,
65
65
beforeDestroy ( ) {
66
- this . _chart . destroy ( )
66
+ if ( this . _chart ) {
67
+ this . _chart . destroy ( )
68
+ }
67
69
}
68
70
} )
Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ export default Vue.extend({
79
79
}
80
80
} ,
81
81
beforeDestroy ( ) {
82
- this . _chart . destroy ( )
82
+ if ( this . _chart ) {
83
+ this . _chart . destroy ( )
84
+ }
83
85
}
84
86
} )
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ export default Vue.extend({
78
78
}
79
79
} ,
80
80
beforeDestroy ( ) {
81
- this . _chart . destroy ( )
81
+ if ( this . _chart ) {
82
+ this . _chart . destroy ( )
83
+ }
82
84
}
83
85
} )
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ export default Vue.extend({
63
63
}
64
64
} ,
65
65
beforeDestroy ( ) {
66
- this . _chart . destroy ( )
66
+ if ( this . _chart ) {
67
+ this . _chart . destroy ( )
68
+ }
67
69
}
68
70
} )
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ export default Vue.extend({
63
63
}
64
64
} ,
65
65
beforeDestroy ( ) {
66
- this . _chart . destroy ( )
66
+ if ( this . _chart ) {
67
+ this . _chart . destroy ( )
68
+ }
67
69
}
68
70
} )
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ export default Vue.extend({
63
63
}
64
64
} ,
65
65
beforeDestroy ( ) {
66
- this . _chart . destroy ( )
66
+ if ( this . _chart ) {
67
+ this . _chart . destroy ( )
68
+ }
67
69
}
68
70
} )
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ export default Vue.extend({
64
64
}
65
65
} ,
66
66
beforeDestroy ( ) {
67
- this . _chart . destroy ( )
67
+ if ( this . _chart ) {
68
+ this . _chart . destroy ( )
69
+ }
68
70
}
69
71
} )
You can’t perform that action at this time.
0 commit comments