src/views/tool/report_design/index.vue
@@ -1,5 +1,7 @@ <template> <iframe ref="iframe" :src="url" scrolling="auto" :style="{height:'calc(100% - 5px)',width:'100%',border:'none'}" /> <div class="report-box"> <iframe ref="iframe" :src="url" scrolling="auto" :style="{height:'100%',width:'100%',border:'none'}" /> </div> </template> <script> @@ -24,6 +26,8 @@ } </script> <style scoped> <style lang="scss"> .report-box{ height: calc( 100vh - 150px ); } </style>