mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-12 04:03:27 +03:30
fix
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Bar, mixins } from 'vue-chartjs'
|
||||
const { reactiveProp } = mixins
|
||||
|
||||
export default {
|
||||
extends: Bar,
|
||||
mixins: [reactiveProp],
|
||||
props: ['options'],
|
||||
mounted () {
|
||||
// this.chartData is created in the mixin.
|
||||
// If you want to pass options please create a local options object
|
||||
this.renderChart(this.chartData, this.options)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user