From 2087b122b0f17f2616ed144d447f914e34c62680 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 14 十月 2024 13:40:06 +0800 Subject: [PATCH] # --- 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..0053ec1 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="outlined" // Optional: Use filled variant for better visibility > {notification.message} </Alert> -- Gitblit v1.9.1