#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
zy-acs-flow/src/map/settings/index.jsx
@@ -12,6 +12,8 @@
    const themeMode = theme.palette.mode;
    const translate = useTranslate();
    const [lastCopiedSprites, setLastCopiedSprites] = useState([]);
    const handleClose = () => {
        onCancel();
    }
@@ -21,11 +23,6 @@
    const handleTabChange = (event, newValue) => {
        setActiveTab(newValue);
    };
    useEffect(() => {
        console.log(sprite);
    }, [sprite])
    return (
        <>
@@ -70,7 +67,7 @@
                                        indicatorColor="primary"
                                        textColor="primary"
                                        variant="fullWidth"
                                        sx={{ mb: 2 }}
                                        sx={{ mb: 0 }}
                                    >
                                        <Tab label={translate('page.map.settings.map.title')} />
                                        <Tab label={translate('page.map.settings.config.title')} />
@@ -86,6 +83,8 @@
                                                onSubmit={() => {
                                                }}
                                                width={width}
                                                lastCopiedSprites={lastCopiedSprites}
                                                setLastCopiedSprites={setLastCopiedSprites}
                                            />
                                        )}
                                        {activeTab === 1 && (