瀏覽代碼

对比高度问题

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 {