zhang
2025-05-20 1313906bb1eb983d3beece810035e7fc28d6a92f
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