فهرست منبع

对比高度问题

zhuliu 2 سال پیش
والد
کامیت
5f62ca3425
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      RMS-FrontEnd/src/views/report/FTO/FTOPage/components/ContrasrProduct.vue

+ 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 {