change mock data
This commit is contained in:
parent
5a8755ec9f
commit
2927e08d06
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue