From 224899bc2eee23368e6b3e9351ebf8f344bcae17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=86=9B?= <510423039@qq.com> Date: Mon, 29 Aug 2022 23:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20=E6=B6=88=E6=81=AF=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=BC=B9=E5=87=BA=E6=A1=86=E7=B1=BB=E5=9E=8B=E4=B8=8D?= =?UTF-8?q?=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vben28/src/hooks/web/useSignalR.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vben28/src/hooks/web/useSignalR.ts b/vben28/src/hooks/web/useSignalR.ts index 1fccf8be..0a3a3a2d 100644 --- a/vben28/src/hooks/web/useSignalR.ts +++ b/vben28/src/hooks/web/useSignalR.ts @@ -73,12 +73,12 @@ export function useSignalR() { console.log(message); const { notification } = useMessage(); if (message.messageLevel == 10) { - notification.error({ + notification.warn({ message: message.title, description: message.content, }); } else if (message.messageLevel == 20) { - notification.warn({ + notification.info({ message: message.title, description: message.content, });