#
luxiaotao1123
2024-10-18 196ad66f41fe77fff13b15b05095dc7661251a5d
zy-acs-flow/src/map/insight/agv/AgvMain.jsx
@@ -10,6 +10,7 @@
    Button,
    Divider,
    Stack,
    useTheme,
} from '@mui/material';
import AgvThree from './AgvThree';
import { getAgvInfo } from '../../http';
@@ -77,6 +78,7 @@
const AgvMain = (props) => {
    const { data, curAgvNo, setCurAgvNo } = props;
    const theme = useTheme();
    const translate = useTranslate();
    const containerRef = useRef();
    const [loading, setLoading] = useState(true);
@@ -107,6 +109,10 @@
        }
        return endThree;
    }, [info]);
    const handleReset = () => {
        alert(1)
    }
    return (
        <Box display="flex" height="100%">
@@ -173,10 +179,10 @@
                            <Stack spacing={2} mt={2}>
                                <ConfirmButton
                                    label="page.map.action.reset"
                                    color="info"
                                    color="primary"
                                    variant="contained"
                                    onConfirm={() => {
                                        alert(1)
                                        handleReset();
                                    }}
                                />
                                {info && (
@@ -198,8 +204,6 @@
}
const KeyValuePair = ({ label, value, bool }) => {
    console.log({ label, value, bool });
    return (
        <>
            <Stack direction="row" alignItems="center" spacing={1} sx={{ mb: 1 }}>