From 6ed3058689870bf78094f39c8214fe7f3b767317 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 7 Aug 2024 10:27:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E6=B6=88=E6=81=AF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E5=BC=80=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/store/notify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web-antd/src/store/notify.ts b/apps/web-antd/src/store/notify.ts index f89850a9..5b2ff62e 100644 --- a/apps/web-antd/src/store/notify.ts +++ b/apps/web-antd/src/store/notify.ts @@ -50,7 +50,7 @@ export const useNotifyStore = defineStore( message: '收到新消息', }); - notificationList.value.push({ + notificationList.value.unshift({ // 随机头像 avatar: `https://api.multiavatar.com/${random(0, 10_000)}.png`, date: dayjs().format('YYYY-MM-DD HH:mm:ss'),