From 739430693e3564e72f10b88eab9be08806d6388b Mon Sep 17 00:00:00 2001 From: Seven Date: Sun, 11 Jan 2026 00:57:06 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E5=8A=A0=E8=BD=BD=E7=8A=B6=E6=80=81=EF=BC=8C?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E6=95=B0=E6=8D=AE=E8=8E=B7=E5=8F=96=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/revenue/pending/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/revenue/pending/index.vue b/src/views/revenue/pending/index.vue index fe2aa05..50452a8 100644 --- a/src/views/revenue/pending/index.vue +++ b/src/views/revenue/pending/index.vue @@ -5,15 +5,13 @@ import { client, safeClient } from "@/api"; const { t } = useI18n(); const { vibrate } = useHaptics(); -const loading = ref(true); - -const { data } = safeClient(client.api.earnings.pending.get()); +const { data, execute } = safeClient(client.api.earnings.pending.get()); async function handleRefresh(event: RefresherCustomEvent) { vibrate(); - useTimeoutFn(() => { + await execute().finally(() => { event.target.complete(); - }, 800); + }); } function getStatusColor(status?: string) {