add excel download

This commit is contained in:
Pan
2017-04-20 10:56:34 +08:00
parent 89a4c3bda1
commit 7bedb8610c
2 changed files with 50 additions and 16 deletions

View File

@@ -2,8 +2,10 @@ import Mock from 'mockjs';
Mock.mock(/\/article\/list/, {
'data|20': [{
id: '@id',
content: '@cparagraph',
time: '@datetime'
title: '@ctitle(10, 20)',
author: '@cname',
display_time: '@datetime',
pageviews: '@integer(300, 5000)'
}]
})