| | |
| | | |
| | | import React, { useState, useRef, useEffect } from 'react'; |
| | | import { Button, message, Modal } from 'antd'; |
| | | import { Button, message, Modal, Tooltip } from 'antd'; |
| | | import { |
| | | FooterToolbar, |
| | | PageContainer, |
| | |
| | | { |
| | | title: '请求内容', |
| | | dataIndex: 'request', |
| | | valueType: 'code', |
| | | valueType: 'text', |
| | | hidden: false, |
| | | width: 140, |
| | | ellipsis: true, |
| | | copyable: true, |
| | | filterDropdown: (props) => <TextFilter |
| | | name='request' |
| | | {...props} |
| | |
| | | { |
| | | title: '响应内容', |
| | | dataIndex: 'response', |
| | | valueType: 'code', |
| | | valueType: 'text', |
| | | hidden: false, |
| | | width: 140, |
| | | ellipsis: true, |
| | | copyable: true, |
| | | filterDropdown: (props) => <TextFilter |
| | | name='response' |
| | | {...props} |
| | |
| | | actionRef={actionRef} |
| | | setSearchParam={setSearchParam} |
| | | />, |
| | | render: (_, record) => { |
| | | return <span><span style={{fontWeight:'bold'}}>{_}</span><span> ms</span></span> |
| | | } |
| | | }, |
| | | { |
| | | title: '异常内容', |