no message
Former-commit-id: 6034114d23d7abc6ef39e10e4de88a17b23ce8a8 Former-commit-id: 368f77194337643e3767733f5ac6ce9cf0f822bf Former-commit-id: 6360de2bc9174267c8d5cc970325eca904e3d14f
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="dd-card-full" :style="cardStyle">
|
||||
<div class="dd-card-full__header" ref="header">
|
||||
<div v-if="$slots.header" class="dd-card-full__header" ref="header">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div class="dd-card-full__body" :style="bodyStyle">
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.headerHeight = this.$refs.header.offsetHeight
|
||||
this.headerHeight = this.$slots.header ? this.$refs.header.offsetHeight : 0
|
||||
},
|
||||
computed: {
|
||||
cardStyle () {
|
||||
|
||||
Reference in New Issue
Block a user