Skip to content

Commit

Permalink
fix(reactive-mixins): Add prop type and default value
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Mar 20, 2018
1 parent 413bbdf commit 8762521
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mixins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ export const reactiveData = {
export const reactiveProp = {
props: {
chartData: {
required: true
type: Object,
required: true,
default: () => {}
}
},
watch: {
Expand Down

0 comments on commit 8762521

Please sign in to comment.