UNPKG
bixi
Version:
latest (9.8.1)
9.8.1
9.6.0
0.0.1-pdf-test
企业级中后台前端解决方案
bixi.datagrand.com
bixi
/
_mock
/
table-data.ts
12 lines
(10 loc)
•
210 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
interface
IPerson
{
name
:
string
;
age
:
number
;
id
:
number
; }
export
const
persons
:
IPerson
[] = [ ...
Array
(
100
) ].
fill
(
''
).
map
(
(
e, i
) =>
({
name
:
`name
${ e }
_
${ i +
1
}
`
,
age
: i +
1
,
id
: i +
1
}));