| | |
| | | } |
| | | }, |
| | | map: { |
| | | welcome: 'Welcome To Rcs', |
| | | devices: { |
| | | title: 'Icons', |
| | | shelf: 'SHELF', |
| | |
| | | } |
| | | }, |
| | | map: { |
| | | welcome: '欢迎使用RCS', |
| | | devices: { |
| | | title: '图标库', |
| | | shelf: '货架', |
| | |
| | | |
| | | setTimeout(() => { |
| | | player.adaptScreen(); |
| | | notify.info('Welcome to Rcs'); |
| | | notify.info(translate('page.map.welcome')); |
| | | }, 200) |
| | | |
| | | // websocket.connect(); |
| | |
| | | <Portal> |
| | | <Snackbar |
| | | open={notification.open} |
| | | autoHideDuration={4000} |
| | | autoHideDuration={3000} |
| | | onClose={handleClose} |
| | | TransitionComponent={SlideTransition} |
| | | anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }} |
| | |
| | | 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> |