Browse Source

解决控制台报错

zhuliu 2 years ago
parent
commit
4f40bfc017
1 changed files with 4 additions and 1 deletions
  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.$set(row,name,str + new_img)
         }
         }
         this.$forceUpdate()
         this.$forceUpdate()
-       this.setHeight()
+        if(this.tableHeight){
+          this.setHeight()
+        }
+       
        
        
       };
       };
       reader.readAsDataURL(file);
       reader.readAsDataURL(file);