Browse Source

调拨表格自适应

lichao 3 năm trước cách đây
mục cha
commit
53c5777b29
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/Warehousing/stockTransfer/index.vue

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

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