浏览代码

导航栏错位问题

xiaoxin 3 年之前
父节点
当前提交
ca5d26e1e7
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      pagesClockIn/stat/stat.vue

+ 4 - 2
pagesClockIn/stat/stat.vue

@@ -296,7 +296,9 @@
 			if (this.current == 0) {
 			if (this.current == 0) {
 				if (this.errList.length < this.total) {
 				if (this.errList.length < this.total) {
 					this.page++
 					this.page++
-					this.getErrList()
+					setTimeout(() => {
+						this.getErrList()
+					}, 500)
 				} else {
 				} else {
 					uni.showToast({
 					uni.showToast({
 						title: "没有更多数据了",
 						title: "没有更多数据了",
@@ -974,4 +976,4 @@
 	::v-deep .uni-calendar-item--checked {
 	::v-deep .uni-calendar-item--checked {
 		border-radius: 50rpx;
 		border-radius: 50rpx;
 	}
 	}
-</style>
+</style>