no message
Former-commit-id: 4c38f2bd200ccd90eb4dc0f3367d67d7cb47d1b1 [formerly 4c38f2bd200ccd90eb4dc0f3367d67d7cb47d1b1 [formerly 4c38f2bd200ccd90eb4dc0f3367d67d7cb47d1b1 [formerly 4c38f2bd200ccd90eb4dc0f3367d67d7cb47d1b1 [formerly d8e1aaf4c26758680dc4cd5b51db886ffd86739e [formerly d0781c0d13d71384cd307e564a6176e64e49e7a0]]]]] Former-commit-id: 26b2872a282b3ccb01e328b200411719aaf176fd Former-commit-id: 143fdba770bf4ca1e72fb274470539ac7b6137dd Former-commit-id: 63cee2802670283c503adb7e81084dc675523d55 [formerly f77bebb96c5377ade8f8adbd0bb0c7c30cf5b7c0] Former-commit-id: 48161dd47c512e4036d37d658a2b166c2934e493 Former-commit-id: dd9be6e4aa02bd20895f2afdaf1a4b7e33af2539 Former-commit-id: 5be876509b54638f6e4e7ec60beddcbda54d8d1f Former-commit-id: 9a6fd0bf985b7090c23f1a3364137a1b2155af32 Former-commit-id: 70ca09c855926f74e60451e5b60581a29a708abd
This commit is contained in:
@@ -47,6 +47,9 @@ export default {
|
||||
mounted () {
|
||||
this.headerHeight = this.$slots.header ? this.$refs.header.offsetHeight : 0
|
||||
this.footerHeight = this.$slots.footer ? this.$refs.footer.offsetHeight : 0
|
||||
this.$nextTick(() => {
|
||||
this.$emit('resized')
|
||||
})
|
||||
},
|
||||
computed: {
|
||||
cardStyle () {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<slot/>
|
||||
</div>
|
||||
<!-- [container-full] 撑满 -->
|
||||
<d2-container-full v-if="type === 'full'" :right="20" :bottom="0">
|
||||
<d2-container-full v-if="type === 'full'" :right="20" :bottom="0" @resized="$emit('resized')">
|
||||
<slot v-if="$slots.header" name="header" slot="header"/>
|
||||
<slot/>
|
||||
<slot v-if="$slots.footer" name="footer" slot="footer"/>
|
||||
|
||||
Reference in New Issue
Block a user