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); }