Browse Source

出库表格自适应

lichao 3 years ago
parent
commit
5cfd59cd4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/Warehousing/outStock/index.vue

+ 1 - 1
src/views/Warehousing/outStock/index.vue

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