mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
fix(reactive-mixins): Add prop type and default value
This commit is contained in:
@@ -77,7 +77,9 @@ export const reactiveData = {
|
|||||||
export const reactiveProp = {
|
export const reactiveProp = {
|
||||||
props: {
|
props: {
|
||||||
chartData: {
|
chartData: {
|
||||||
required: true
|
type: Object,
|
||||||
|
required: true,
|
||||||
|
default: () => {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
Reference in New Issue
Block a user