const dataSource = Mock.mock({
'list|6-10': [
{
id: '@id',
school: '@cname',
'expireNum|1-100': 100,
'sum|1-100': 100,
'expireRatio|1-100': 100,
},
],
}).list;
const dataSource = Mock.mock({
'list|6-10': [
{
id: '@id',
school: '@cname',
'expireNum|1-100': 100,
'sum|1-100': 100,
'expireRatio|1-100': 100,
},
],
}).list;
让时间为你证明