|
@@ -1,20 +1,15 @@
|
|
|
import { Tabs } from 'antd'
|
|
import { Tabs } from 'antd'
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
-import type { ProColumns } from '@ant-design/pro-table'
|
|
|
|
|
import { VList } from 'virtuallist-antd'
|
|
import { VList } from 'virtuallist-antd'
|
|
|
import { useMemo } from 'react'
|
|
import { useMemo } from 'react'
|
|
|
|
|
+import type { ProColumns } from '@ant-design/pro-table'
|
|
|
|
|
+const { TabPane } = Tabs
|
|
|
|
|
+
|
|
|
type LockLowerListProps = {
|
|
type LockLowerListProps = {
|
|
|
- logList: {
|
|
|
|
|
- log: any[]
|
|
|
|
|
- }
|
|
|
|
|
- serviceList: API.ServiceLogItem[]
|
|
|
|
|
|
|
+ logList: { log: API.LogItem[] }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const LockLowerList: React.FC<LockLowerListProps> = props => {
|
|
|
|
|
- const {
|
|
|
|
|
- log: { log: logs = [] }
|
|
|
|
|
- } = props
|
|
|
|
|
- const { TabPane } = Tabs
|
|
|
|
|
|
|
+const LockLowerList: React.FC<LockLowerListProps> = ({ logList: { log: logs = [] } }) => {
|
|
|
const tableHeight = (document.body.clientHeight - 124 - 54 - 40 - 40 - 4) / 2
|
|
const tableHeight = (document.body.clientHeight - 124 - 54 - 40 - 40 - 4) / 2
|
|
|
const columns: ProColumns<API.LogItem>[] = [
|
|
const columns: ProColumns<API.LogItem>[] = [
|
|
|
{
|
|
{
|