mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
correct hook name.
This commit is contained in:
@@ -55,7 +55,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default Vue.extend({
|
|||||||
this._chart.generateLegend()
|
this._chart.generateLegend()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroy () {
|
beforeDestroy () {
|
||||||
this._chart.destroy()
|
this._chart.destroy()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user