#
luxiaotao1123
2024-10-14 eff90adaab2d1ca8b8447e6afb881e800d829a3e
#
2个文件已修改
11 ■■■■■ 已修改文件
zy-acs-flow/src/map/JsonShow.jsx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/batch/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/JsonShow.jsx
@@ -1,5 +1,5 @@
import React, { useState, useRef, useEffect } from 'react';
import { Box, Typography, Paper } from '@mui/material';
import { Box, Typography, Paper, useTheme } from '@mui/material';
const parseJson = (jsonStr) => {
    let json = '';
@@ -44,6 +44,9 @@
};
const JsonShow = ({ data, height = 500 }) => {
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    let json = parseJson(data);
    return (
@@ -53,7 +56,7 @@
                padding: 2,
                maxHeight: height,
                overflow: 'auto',
                backgroundColor: '#f5f5f5',
                backgroundColor: theme.palette.background.paper,
                borderRadius: 2,
            }}
        >
zy-acs-flow/src/map/batch/index.jsx
@@ -45,7 +45,7 @@
                                    <BatchSettings
                                        data={
                                            batchSprites?.map(item => {
                                                return item.data?.no;
                                                return item.data?.type + '-' + item.data?.no;
                                            })
                                        }
                                    />
@@ -57,7 +57,7 @@
                                    <BatchSettings
                                        data={
                                            batchSprites?.map(item => {
                                                return item.data?.no;
                                                return item.data?.type + '-' + item.data?.no;
                                            })
                                        }
                                    />