diff --git a/src/template/hero/Hero.vue b/src/template/hero/Hero.vue index b8c0f16..5c47a5b 100644 --- a/src/template/hero/Hero.vue +++ b/src/template/hero/Hero.vue @@ -19,8 +19,15 @@ data() { return { - template: templates['deck'], + props: propTypes[this.type], } }, + + computed: { + template() { + return templates[this.type] + .replace('\n', ''); + }, + }, }