Skip to content
Snippets Groups Projects
Commit 2927e08d authored by Pan's avatar Pan
Browse files

change mock data

parent 5a8755ec
No related branches found
No related tags found
No related merge requests found
......@@ -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)'
}));
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment