瀏覽代碼

解决控制台报错

zhuliu 2 年之前
父節點
當前提交
4f40bfc017
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      RMS-FrontEnd/src/views/report/components/mixins.js

+ 4 - 1
RMS-FrontEnd/src/views/report/components/mixins.js

@@ -79,7 +79,10 @@ export const explain = {
           this.$set(row,name,str + new_img)
         }
         this.$forceUpdate()
-       this.setHeight()
+        if(this.tableHeight){
+          this.setHeight()
+        }
+       
        
       };
       reader.readAsDataURL(file);