config.ts
871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { BasicColumn, FormSchema } from '/@/components/Table';
export const columns: BasicColumn[] = [
{
title: '创建时间',
dataIndex: 'createTime',
width: 120,
},
{
title: '标题',
dataIndex: 'title',
width: 120,
},
{
title: '版本',
dataIndex: 'version',
width: 120,
},
{
title: '版本标签',
dataIndex: 'versionLabel',
width: 120,
},
{
title: '包类型',
dataIndex: 'pkgType',
width: 120,
},
{
title: '直接URL',
dataIndex: 'url',
width: 120,
},
{
title: '文件大小',
dataIndex: 'fileSize',
width: 120,
},
{
title: '校验和',
dataIndex: 'vaildateTotal',
width: 120,
},
];
export const searchFormSchema: FormSchema[] = [
{
field: 'name',
label: '标题',
component: 'Input',
colProps: { span: 8 },
},
];