change mock data

This commit is contained in:
Pan 2017-06-15 13:44:48 +08:00
parent 5a8755ec9f
commit 2927e08d06
2 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ for (let i = 0; i < count; i++) {
title: '@ctitle(10, 20)',
forecast: '@float(0, 100, 2, 2)',
importance: '@integer(1, 3)',
'type|1': ['FD', 'FE', 'BI', 'VN'],
'type|1': ['CN', 'US', 'JP', 'EU'],
'status|1': ['published', 'draft', 'deleted'],
pageviews: '@integer(300, 5000)'
}));

View file

@ -154,10 +154,10 @@
import { parseTime } from 'utils';
const calendarTypeOptions = [
{ key: 'FD', display_name: '经济数据' },
{ key: 'FE', display_name: '财经大事' },
{ key: 'BI', display_name: '国债发行' },
{ key: 'VN', display_name: '假期报告' }
{ key: 'CN', display_name: '中国' },
{ key: 'US', display_name: '美国' },
{ key: 'JP', display_name: '日本' },
{ key: 'EU', display_name: '欧元区' }
];
// arr to obj