Parcourir la source

对比高度问题

zhuliu il y a 2 ans
Parent
commit
5f62ca3425

+ 1 - 1
RMS-FrontEnd/src/views/report/FTO/FTOPage/components/ContrasrProduct.vue

@@ -347,7 +347,7 @@ export default {
       if (val == true) {
         this.width = '50%'
         this.$nextTick(()=>{
-            this.$set(this,'height',document.getElementsByClassName('patent-articles-content-left')[0].offsetHeight +20 + 'px')
+            this.$set(this,'height','calc(100% - 50px)')
             
          })
       } else {