diff --git a/compoment/BasicContainer/BasicContainer.vue b/compoment/BasicContainer/BasicContainer.vue index 0313bb2..ca9cf63 100644 --- a/compoment/BasicContainer/BasicContainer.vue +++ b/compoment/BasicContainer/BasicContainer.vue @@ -108,13 +108,20 @@ // 下拉刷新 onPullDownRefresh(async () => { - await pullDownRefreshInitPage() - const timer = setTimeout(() => { - // 触发下拉回调 - uni.stopPullDownRefresh() - // 清除定时器 - clearTimeout(timer) - }, 300) + try { + await pullDownRefreshInitPage() + + } catch (e) { + //TODO handle the exception + } finally { + console.log('111 :>> ', 111); + const timer = setTimeout(() => { + // 触发下拉回调 + uni.stopPullDownRefresh() + // 清除定时器 + clearTimeout(timer) + }, 300) + } }) // 触发下拉刷新 diff --git a/compoment/PopUp/PopUp.vue b/compoment/PopUp/PopUp.vue index 8f3f099..5b5aed8 100644 --- a/compoment/PopUp/PopUp.vue +++ b/compoment/PopUp/PopUp.vue @@ -1,6 +1,6 @@