You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
825 B
TypeScript
45 lines
825 B
TypeScript
import React from 'react';
|
|
import { Button, Popconfirm, Table } from '@arco-design/web-react';
|
|
import { IconDelete } from '@arco-design/web-react/icon';
|
|
|
|
const InstanceList = () => {
|
|
const data = [];
|
|
|
|
// 定义表格列
|
|
const columns = [
|
|
{
|
|
title: '实例名',
|
|
dataIndex: 'name'
|
|
},
|
|
{
|
|
title: '实例标识',
|
|
dataIndex: 'dataType'
|
|
},
|
|
{
|
|
title: '运行类型',
|
|
dataIndex: 'defaultValue'
|
|
},
|
|
{
|
|
title: '实例状态',
|
|
dataIndex: 'description'
|
|
},
|
|
{
|
|
title: '实例测试时间',
|
|
dataIndex: 'description1'
|
|
},
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'operations'
|
|
}
|
|
];
|
|
return (
|
|
<Table
|
|
columns={columns}
|
|
data={data}
|
|
pagination={false}
|
|
rowKey="id"
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default InstanceList; |