From 404b400b504f2e0731e0238f324082befe06fc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Thu, 12 Sep 2024 12:16:01 +0800 Subject: [PATCH] [*] Fix incorrect use of message util and dialog util --- src/views/Sign.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Sign.vue b/src/views/Sign.vue index d6406b1..30eba4b 100644 --- a/src/views/Sign.vue +++ b/src/views/Sign.vue @@ -138,10 +138,10 @@ async function doSign() { } if (!rs) return if (rs.status === 200) { - sendErrorMessage(rs.message) + sendSuccessDialog('签到成功,本次获得 ' + rs.data.signTraffic + ' GiB 流量') checkSign() } else { - sendSuccessDialog(rs.message) + sendErrorMessage(rs.message) checkSign() } }