#
luxiaotao1123
2025-06-28 1da741e8519e13d8f92824bf8ef15b92800b70fc
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