@@ -1,6 +1,6 @@
<template>
<div ref="box" class="box">
- <CaseQualityBox v-if="data.data" :data="data" :height="820" />
+ <CaseQualityBox v-if="data.data" :data="data" />
</div>
</template>
@@ -94,7 +94,7 @@
height: {
type: Number,
default() {
- return 820
+ return 0
}
},
@@ -129,7 +129,11 @@
return str
scrollHeight() {
- return (this.height - 297)+'px'
+ if (this.height) {
+ return (this.height - 297)+'px'
+ } else {
+ return `calc(100vh - 314px)`
+ }
methods: {