diff --git a/src/components/d2-container/index.vue b/src/components/d2-container/index.vue index b72e29cc..0f5abf54 100644 --- a/src/components/d2-container/index.vue +++ b/src/components/d2-container/index.vue @@ -44,9 +44,7 @@ export default { if (this.$slots.footer) slots.push(h('div', { slot: 'footer' }, [ this.$slots.footer ])) return h('div', { ref: 'container', - attrs: { - 'class': 'container-component' - } + class: 'container-component' }, [ h(this.component, { props: this.$attrs,