change mock data

pull/88/head
Pan 8 years ago
parent 5a8755ec9f
commit 2927e08d06

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

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

Loading…
Cancel
Save