From 943fc558a942ce0d83748cc55f4ddd2bcb4ba02d Mon Sep 17 00:00:00 2001 From: 展杰 <1240968267@qq.com> Date: 星期六, 09 十二月 2023 08:57:42 +0800 Subject: [PATCH] 1 --- pages/inspection/inspectionList.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/pages/inspection/inspectionList.vue b/pages/inspection/inspectionList.vue index 2c78293..31c15ba 100644 --- a/pages/inspection/inspectionList.vue +++ b/pages/inspection/inspectionList.vue @@ -112,6 +112,12 @@ onLoad() { this.getInspections() }, + onPullDownRefresh() { + this.getInspections() + setTimeout(function () { + uni.stopPullDownRefresh(); + }, 1000); + }, //onShow:function(){ // this.getInspections() //}, @@ -144,6 +150,7 @@ this.getInspections() }) }, + } } </script> -- Gitblit v1.9.3