Browse Source

解决控制台报错

zhuliu 2 năm trước cách đây
mục cha
commit
4f40bfc017
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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);