1
zhang
2025-07-03 13ea8b334572c2423abb8d156fd8428f8d074172
zy-acs-flow/src/map/JsonShow.jsx
@@ -23,7 +23,13 @@
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    let json = parseJson(data);
    const [json, setJson] = useState(null);
    useEffect(() => {
        if (data) {
            setJson(parseJson(data));
        }
    }, [data]);
    return (
        <Paper