From 41da932b9629d7f1426e2030412df1a41f65ff6e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 21 十月 2024 11:05:14 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/agv/AgvMain.jsx |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/agv/AgvMain.jsx b/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
index 566e2ce..68fbd29 100644
--- a/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
+++ b/zy-acs-flow/src/map/insight/agv/AgvMain.jsx
@@ -17,6 +17,7 @@
 import { handleRestoreAgvAll } from '../../http';
 import BoolValueIcon from '../BoolValueIcon';
 import ConfirmButton from '../../../page/components/ConfirmButton';
+import { grey } from '@mui/material/colors';
 
 let three;
 
@@ -135,7 +136,7 @@
                         left="50%"
                         style={{ transform: 'translate(-50%, -50%)' }}
                     >
-                        <CircularProgress />
+                        <CircularProgress sx={{ color: grey[50] }} />
                     </Box>
                 )}
             </Box>
@@ -200,15 +201,6 @@
                                     >
                                         {translate('page.map.settings.map.more.title')}
                                     </Button>
-
-                                    <ConfirmButton
-                                        label="page.map.action.restoreALl"
-                                        color="primary"
-                                        variant="contained"
-                                        onConfirm={() => {
-                                            handleRestoreAll();
-                                        }}
-                                    />
                                     {info && (
                                         info.status === 1
                                             ? <Button variant="contained" color="error" fullWidth onClick={() => {
@@ -222,6 +214,14 @@
                                                 {translate('page.map.action.enable')}
                                             </Button>
                                     )}
+                                    <ConfirmButton
+                                        label="page.map.action.restoreALl"
+                                        color="inherit"
+                                        // variant="contained"
+                                        onConfirm={() => {
+                                            handleRestoreAll();
+                                        }}
+                                    />
                                 </Stack>
                             </Grid>
                         </Grid>

--
Gitblit v1.9.1