diff --git a/src/template/hero/Hero.vue b/src/template/hero/Hero.vue index 59c8bca..20a5716 100644 --- a/src/template/hero/Hero.vue +++ b/src/template/hero/Hero.vue @@ -45,7 +45,8 @@ data() { return { - props: propTypes[this.type], + props: {count: 'number', + ...propTypes[this.type]}, } },