#
luxiaotao1123
2024-11-05 fe4c6c0439e0dc00f0b09d1818735065d38d3078
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