Skip to content

Commit 8762521

Browse files
committed
fix(reactive-mixins): Add prop type and default value
1 parent 413bbdf commit 8762521

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mixins/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export const reactiveData = {
7777
export const reactiveProp = {
7878
props: {
7979
chartData: {
80-
required: true
80+
type: Object,
81+
required: true,
82+
default: () => {}
8183
}
8284
},
8385
watch: {

0 commit comments

Comments
 (0)