zhang
8 天以前 443e32fec6aec9dfa2ca802246950dc3c36e6251
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