http://mockjs.com/

    1. const dataSource = Mock.mock({
    2. 'list|6-10': [
    3. {
    4. id: '@id',
    5. school: '@cname',
    6. 'expireNum|1-100': 100,
    7. 'sum|1-100': 100,
    8. 'expireRatio|1-100': 100,
    9. },
    10. ],
    11. }).list;