From 7e7109a411b19c8456fb6a3bd4f6a3aa813fd3ce Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Tue, 11 Jun 2024 17:35:02 +0800 Subject: [PATCH] add --- pagesOrder/order/order.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pagesOrder/order/order.vue b/pagesOrder/order/order.vue index f46f10c..5ee6f25 100644 --- a/pagesOrder/order/order.vue +++ b/pagesOrder/order/order.vue @@ -110,6 +110,9 @@ import { ref } from 'vue'; + import { + onPullDownRefresh + } from "@dcloudio/uni-app" import good from "./component/good.vue"; import orderCanclePopup from "@/components/orderCanclePopup.vue" import modal from "@/components/modal.vue" @@ -408,6 +411,12 @@ onUnload(() => { uni.$off('reLoadOrderList', reloadAll) }) + + onPullDownRefresh(() => { + // getBanlance(true) + uni.stopPullDownRefresh() + // getBanlance(true) + })