ソースを参照

解决控制台报错

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);