From 11d4e7383093190ee85d59d198f0e3b5ba428c91 Mon Sep 17 00:00:00 2001
From: zc <zyzc>
Date: 星期五, 14 十一月 2025 18:08:22 +0800
Subject: [PATCH] 111
---
zy-acs-flow/src/map/Notification.jsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zy-acs-flow/src/map/Notification.jsx b/zy-acs-flow/src/map/Notification.jsx
index de65c06..ed98f84 100644
--- a/zy-acs-flow/src/map/Notification.jsx
+++ b/zy-acs-flow/src/map/Notification.jsx
@@ -37,7 +37,7 @@
<Portal>
<Snackbar
open={notification.open}
- autoHideDuration={4000}
+ autoHideDuration={3000}
onClose={handleClose}
TransitionComponent={SlideTransition}
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
@@ -49,7 +49,7 @@
onClose={handleClose}
severity={notification.severity}
sx={{ width: '300px', zIndex: 2000 }}
- variant="filled" // Optional: Use filled variant for better visibility
+ variant="filled" // standard' | 'filled' | 'outlined
>
{notification.message}
</Alert>
--
Gitblit v1.9.1