luxiaotao1123
2024-04-08 9d0acfb65c80c4948c305ca01338f894b87346a0
zy-asrs-flow/src/pages/map/drawer/showJson.jsx
@@ -36,13 +36,13 @@
const ShowJSON = (props) => {
    const { styles } = useStyles();
    const { curSprite } = props;
    const { data } = props;
    const formattedJSON = JSON.stringify(curSprite.data, null, 2);
    const formattedJSON = JSON.stringify(data, null, props.jsonType ?? 2);
    return (
        <>
            <div className={styles.jsonBox}>
            <div className={styles.jsonBox} style={{ height: props.height }}>
                <textarea
                    readOnly
                    className={styles.jsonContent}