#
luxiaotao1123
2024-03-24 0c48163d11195a61c808015a6cd4f235fcc4f9d3
zy-asrs-flow/src/pages/map/batch/index.jsx
@@ -1,8 +1,9 @@
import React, { useState, useRef, useEffect } from 'react';
import { Drawer, Space, Button } from 'antd';
import { Drawer, Space, Button, Card } from 'antd';
import { FormattedMessage, useIntl, useModel } from '@umijs/max';
import { createStyles } from 'antd-style';
import * as Utils from '../utils'
import ShowJson from '../drawer/showJson';
const useStyles = createStyles(({ token, css }) => {
    return {
@@ -42,7 +43,21 @@
                    </Space>
                }
            >
                {batchSprites?.length}
                <Card
                    className='drawer-card'
                    hoverable
                    bordered={false}
                    type='inner'
                    style={{
                        height: '100%'
                    }}
                >
                    <ShowJson
                        data={batchSprites?.length}
                        height='30%'
                    />
                </Card>
            </Drawer>
        </>
    )