Explorar el Código

库存总账表格自适应

lichao hace 3 años
padre
commit
3b44895bce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/reportManagement/whgenleg/index.vue

+ 1 - 1
src/views/reportManagement/whgenleg/index.vue

@@ -907,7 +907,7 @@ export default {
         this.total = response.total;
         this.loading = false;
         // 根据浏览器高度设置初始高度
-        setInterval(() => {
+        setTimeout(() => {
           this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
         }, 300)
       });