From 2a1907fd52a17930cad7ae33d93eb43bbd05fc2b Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Sat, 18 Jan 2025 10:10:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=97=AA=E7=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FirstJob/joblist.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index fa82e64..5087e75 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -744,7 +744,7 @@ -
+
{{ speed == 1 ? '加载中' : '加载完成' }}
@@ -873,7 +873,7 @@ export default { data() { return { isFetching: false, // 标志位,防止重复加载 - speed:0,// 加载进度0 未加载 1加载中 2加载完成 + speed:1,// 加载进度0 未加载 1加载中 2加载完成 isStop:false,// 是否停止加载 jobMainList: [], // 职位列表 jobNum:0, @@ -1191,7 +1191,7 @@ export default { if (scrollTop + windowHeight >= scrollHeight - 100 && !this.isFetching && !this.isStop) { // 100 是一个阈值,可以根据需要调整 this.isFetching = true; setTimeout(() => { - this.speed = 0; + this.speed = 1; this.loadMoreData(); }, 300); }