Ver código fonte

应收总账表格自适应

lichao 3 anos atrás
pai
commit
be3136c365

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

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